mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: add usage tracking package (#19095)
Not used in coderd yet, see stack. Adds two new packages: - `coderd/usage`: provides an interface for the "Collector" as well as a stub implementation for AGPL - `enterprise/coderd/usage`: provides an interface for the "Publisher" as well as a Tallyman implementation Relates to https://github.com/coder/internal/issues/814
This commit is contained in:
@@ -32,6 +32,8 @@ const (
|
||||
// ServiceAgentMetricAggregator merges agent metrics and exports them in a
|
||||
// prometheus collector format.
|
||||
ServiceAgentMetricAggregator = "agent-metrics-aggregator"
|
||||
// ServiceTallymanPublisher publishes usage events to coder/tallyman.
|
||||
ServiceTallymanPublisher = "tallyman-publisher"
|
||||
|
||||
RequestTypeTag = "coder_request_type"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user