Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CacheHits = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "media_cache_hits_total", }, []string{"cache"})
View Source
var CacheMisses = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "media_cache_misses_total", }, []string{"cache"})
View Source
var HttpRequests = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "media_http_requests_total", }, []string{"host", "action", "method"})
View Source
var HttpResponseTime = prometheus.NewHistogramVec(prometheus.HistogramOpts{ Name: "media_http_response_time_seconds", }, []string{"host", "action", "method"})
View Source
var HttpResponses = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "media_http_responses_total", }, []string{"host", "action", "method", "statusCode"})
View Source
var InvalidHttpRequests = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "media_invalid_http_requests_total", }, []string{"action", "method"})
View Source
var MediaAgeAccessed = prometheus.NewHistogram(prometheus.HistogramOpts{ Name: "media_age_accessed_media_seconds", Buckets: []float64{ 5, 15, 30, 60, 120, 150, 300, 900, 1800, 3600, 9000, 18000, 43200, 86400, 1296000, 2592000, 15811200, 31536000, }, })
View Source
var MediaDownloaded = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "media_downloaded_total", }, []string{"origin"})
View Source
var S3Operations = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "media_s3_operations_total", }, []string{"operation"})
View Source
var ThumbnailsGenerated = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "media_thumbnails_generated_total", }, []string{"width", "height", "method", "animated", "origin"})
View Source
var UrlPreviewsGenerated = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: "media_url_previews_generated_total", }, []string{"type"})
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.