aboutsummaryrefslogtreecommitdiff
path: root/collector
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2020-07-14 23:25:48 -0400
committerBen Burwell <ben@benburwell.com>2020-07-14 23:25:48 -0400
commita114bd442c7cd0a0b6d6cdff1e2e61ff007e7ac9 (patch)
tree3c66b3e4cc1bdb67f98906126b4a9f5003f02d4a /collector
parent3a850282cdba1f43c5d78c7997d4523067d703b0 (diff)
Update metric name
Diffstat (limited to 'collector')
-rw-r--r--collector/collector.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/collector/collector.go b/collector/collector.go
index 2706fcf..2f2fc76 100644
--- a/collector/collector.go
+++ b/collector/collector.go
@@ -39,9 +39,8 @@ const (
func NewCollector() (Collector, error) {
c := &collector{
reportCounter: prometheus.NewCounterVec(prometheus.CounterOpts{
- Namespace: "http",
- Subsystem: "csp",
- Name: "violations_count",
+ Namespace: "csp",
+ Name: "violation_reports_total",
Help: "Count of CSP violation reports.",
}, []string{
labelApp,