Skip to content

Commit

Permalink
Fixes metric names and missing labels for file cache metrics (#54) (#55)
Browse files Browse the repository at this point in the history
Thanks!
  • Loading branch information
thedustin authored and jonnenauha committed Oct 13, 2019
1 parent dc01100 commit abeb459
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ var (
group{name: "sma", prefixes: []string{
"sma.",
}},
group{name: "smf", prefixes: []string{
"smf.",
}},
group{name: "mgt", prefixes: []string{
"mgt.",
}},
Expand Down Expand Up @@ -188,6 +191,16 @@ var (
"varnish_sma_g_alloc": "type",
"varnish_sma_g_bytes": "type",
"varnish_sma_g_space": "type",
"varnish_smf_c_bytes": "type",
"varnish_smf_c_fail": "type",
"varnish_smf_c_freed": "type",
"varnish_smf_c_req": "type",
"varnish_smf_g_alloc": "type",
"varnish_smf_g_bytes": "type",
"varnish_smf_g_smf_frag": "type",
"varnish_smf_g_smf_large": "type",
"varnish_smf_g_smf": "type",
"varnish_smf_g_space": "type",
}
)

Expand Down

0 comments on commit abeb459

Please sign in to comment.