github.com/quay/claircore@v1.5.28/java/metrics.go (about) 1 package java 2 3 import ( 4 "github.com/prometheus/client_golang/prometheus" 5 "github.com/prometheus/client_golang/prometheus/promauto" 6 ) 7 8 var searchCounter = promauto.NewCounterVec( 9 prometheus.CounterOpts{ 10 Namespace: "claircore_indexer", 11 Subsystem: "java", 12 Name: "search_total", 13 Help: "Total number of maven search queries issued.", 14 }, 15 []string{"success"}, 16 )