Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HttpDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{ Name: "http_request_duration_seconds", Help: "Duration of HTTP requests.", Buckets: []float64{0.2, 0.5, 1, 2, 5}, }, []string{"operation"})
View Source
var HttpRequests = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "http_requests_total", Help: "Number of HTTP requests.", }, []string{"code", "operation"}, )
View Source
var TotalComments = prometheus.NewCounter( prometheus.CounterOpts{ Name: "fider_comments_total", Help: "Number of Fider comments.", }, )
View Source
var TotalPosts = prometheus.NewCounter( prometheus.CounterOpts{ Name: "fider_posts_total", Help: "Number of Fider posts.", }, )
View Source
var TotalTenants = prometheus.NewCounter( prometheus.CounterOpts{ Name: "fider_tenants_total", Help: "Number of Fider tenants.", }, )
View Source
var TotalVotes = prometheus.NewCounter( prometheus.CounterOpts{ Name: "fider_votes_total", Help: "Number of Fider votes.", }, )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.