Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Metrics_activeRequests = prometheus.NewGauge(prometheus.GaugeOpts{ Name: "annotator_Running_Annotation_Requests_Count", Help: "The current number of unfulfilled annotation service requests.", }) Metrics_requestTimes = prometheus.NewSummary(prometheus.SummaryOpts{ Name: "annotator_Request_Response_Time_Summary", Help: "The response time of each request, in nanoseconds.", }) Metrics_totalRequests = prometheus.NewCounter(prometheus.CounterOpts{ Name: "annotator_Annotation_Requests_Total", Help: "The total number of annotation service requests.", }) Metrics_totalLookups = prometheus.NewCounter(prometheus.CounterOpts{ Name: "annotator_Annotation_Lookups_Total", Help: "The total number of ip lookups.", }) )
These vars are the prometheus metrics
Functions ¶
func SetupPrometheus ¶
func SetupPrometheus()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.