mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-26 04:58:10 +02:00
HTTP metrics improvements
- Switch to ochttp plugin - Add HTTP request metrics - Relabel for consistency
This commit is contained in:
parent
8e4a54c6ca
commit
e635c9bb3b
8 changed files with 139 additions and 129 deletions
|
@ -18,7 +18,7 @@ func testDataRetrieval(v *view.View, t *testing.T, want string) {
|
|||
t.Fatalf("%s: failed to retrieve data line %s", name, err)
|
||||
}
|
||||
if len(data) != 1 {
|
||||
t.Errorf("%s: received too many data rows: %d", name, len(data))
|
||||
t.Fatalf("%s: received incorrect number of data rows: %d", name, len(data))
|
||||
}
|
||||
|
||||
if !strings.HasPrefix(data[0].String(), want) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue