mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05: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:
2
command/agent/testdata/basic.json
vendored
2
command/agent/testdata/basic.json
vendored
@@ -421,6 +421,8 @@
|
||||
}
|
||||
],
|
||||
"reporting": {
|
||||
"address": "http://localhost:8080",
|
||||
"export_interval": "15m",
|
||||
"license": {
|
||||
"enabled": "true"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user