mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
telemetry: add stackdriver metrics sink (#6957)
* telemetry: add stackdriver metrics sink * telemetry: stackdriver go mod tidy
This commit is contained in:
committed by
Jeff Malnick
parent
217e0627d9
commit
1c146a1012
@@ -241,6 +241,14 @@ type Telemetry struct {
|
||||
// Default: 24h
|
||||
PrometheusRetentionTime time.Duration `hcl:"-"`
|
||||
PrometheusRetentionTimeRaw interface{} `hcl:"prometheus_retention_time"`
|
||||
|
||||
// Stackdriver:
|
||||
// StackdriverProjectID is the project to publish stackdriver metrics to.
|
||||
StackdriverProjectID string `hcl:"stackdriver_project_id"`
|
||||
// StackdriverLocation is the GCP or AWS region of the monitored resource.
|
||||
StackdriverLocation string `hcl:"stackdriver_location"`
|
||||
// StackdriverNamespace is the namespace identifier, such as a cluster name.
|
||||
StackdriverNamespace string `hcl:"stackdriver_namespace"`
|
||||
}
|
||||
|
||||
func (s *Telemetry) GoString() string {
|
||||
|
||||
Reference in New Issue
Block a user