mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
reporting: allow export interval and address to be configurable (#23674)
The go-census library supports configuration to send metrics to a local development version of the collector. Add "undocumented" configuration options to the `reporting` block allow developers to debug and verify we're sending the data we expect with real Nomad servers and not just unit tests. Ref: https://hashicorp.atlassian.net/browse/NET-10057 Ref: https://github.com/hashicorp/nomad-enterprise/pull/1708
This commit is contained in:
3
command/agent/testdata/basic.hcl
vendored
3
command/agent/testdata/basic.hcl
vendored
@@ -348,6 +348,9 @@ reporting {
|
||||
license {
|
||||
enabled = true
|
||||
}
|
||||
|
||||
address = "http://localhost:8080"
|
||||
export_interval = "15m"
|
||||
}
|
||||
|
||||
keyring "awskms" {
|
||||
|
||||
Reference in New Issue
Block a user