Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UsecaseDuration = metrics.MustNewHistogramWithTags(metrics.HistogramOptions{ Namespace: "indexer", Subsystem: "usecase", Name: "duration", Desc: "The time spent executing a usecase", Tags: []string{"task"}, }) ServerRequestDuration = metrics.MustNewHistogramWithTags(metrics.HistogramOptions{ Namespace: "indexer", Subsystem: "server", Name: "request_duration", Desc: "The time spent handling an HTTP request", Tags: []string{"request"}, }) DatabaseQueryDuration = metrics.MustNewHistogramWithTags(metrics.HistogramOptions{ Namespace: "indexer", Subsystem: "database", Name: "query_duration", Desc: "The time spent executing a database query", Tags: []string{"query"}, }) DatabaseSizeBytes = metrics.MustNewGaugeWithTags(metrics.Options{ Namespace: "indexer", Subsystem: "database", Name: "size_bytes", Desc: "The size of the database in bytes", }) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.