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:
Tim Gross
2024-07-24 08:29:59 -04:00
committed by GitHub
parent c280891703
commit c8be863bc8
5 changed files with 38 additions and 7 deletions

View File

@@ -421,6 +421,8 @@
}
],
"reporting": {
"address": "http://localhost:8080",
"export_interval": "15m",
"license": {
"enabled": "true"
}