Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Common across data backends. QueryDurationSecondsHistogram = "db_query_duration_seconds" QueriesCounter = "db_queries_total" // DynamoDB-specific metrics. DynamodbConsumedCapacityCounter = "dynamodb_consumed_capacity_total" )
Metric names.
View Source
const ( QueryOutcomeLabelKey = "outcome" QueryTypeLabelKey = "type" DynamoCapacityOpLabelKey = "op" )
Metric label keys.
View Source
const ( GetQueryType = "get" GetAllQueryType = "getall" DeleteQueryType = "delete" PushQueryType = "push" PingQueryType = "ping" )
Metric label values for DAO operation types.
View Source
const ( FailQueryOutcome = "fail" SuccessQueryOutcome = "success" )
Metric label values for Query Outcomes.
View Source
const ( DynamoCapacityReadOp = "read" DynamoCapacityWriteOp = "write" )
Metric label values for DynamoDB Consumed capacity type
Variables ¶
This section is empty.
Functions ¶
func ProvideMetrics ¶
ProvideMetrics returns the Metrics relevant to this package
Types ¶
Click to show internal directories.
Click to hide internal directories.