config: remove unused telemetry stanza (#6137)

I think this was somehow accidentally included from Vault
back in the day and never removed. As far as I can tell
these options have absolutely no effect on anything
in Boundary and will probably only cause confusion.
This commit is contained in:
Johan Brandhorst-Satzkorn authored and GitHub committed 2025-10-10 23:33:36 -04:00
1 parent 003007aaa3
commit 8f5bb3a8b1
7 files changed
-39

No files matched your search

@@ -3,11 +3,6 @@
disable_mlock = true
telemetry {
prometheus_retention_time = "24h"
disable_hostname = true
}
listener "tcp" {
address = "0.0.0.0:${port}"
purpose = "proxy"
@@ -3,11 +3,6 @@
disable_mlock = true
telemetry {
prometheus_retention_time = "24h"
disable_hostname = true
}
listener "tcp" {
address = "0.0.0.0:${port}"
purpose = "proxy"
@@ -3,11 +3,6 @@
disable_mlock = true
telemetry {
prometheus_retention_time = "24h"
disable_hostname = true
}
listener "tcp" {
address = "0.0.0.0:${port}"
purpose = "proxy"
@@ -3,11 +3,6 @@
disable_mlock = true
telemetry {
prometheus_retention_time = "24h"
disable_hostname = true
}
listener "tcp" {
address = "0.0.0.0:${port}"
purpose = "proxy"
@@ -3,11 +3,6 @@
disable_mlock = true
telemetry {
prometheus_retention_time = "24h"
disable_hostname = true
}
listener "tcp" {
address = "0.0.0.0:${port}"
purpose = "proxy"
@@ -3,11 +3,6 @@
disable_mlock = true
telemetry {
prometheus_retention_time = "24h"
disable_hostname = true
}
listener "tcp" {
address = "0.0.0.0:${port}"
purpose = "proxy"
-9
View File
@@ -46,11 +46,6 @@ const (
devConfig = `
disable_mlock = true
telemetry {
prometheus_retention_time = "24h"
disable_hostname = true
}
`
devControllerExtraConfig = `
@@ -1353,10 +1348,6 @@ func parseEventing(eventObj *ast.ObjectItem) (*event.EventerConfig, error) {
// Sanitized returns a copy of the config with all values that are considered
// sensitive stripped. It also strips all `*Raw` values that are mainly
// used for parsing.
//
// Specifically, the fields that this method strips are:
// - KMS.Config
// - Telemetry.CirconusAPIToken
func (c *Config) Sanitized() map[string]any {
// Create shared config if it doesn't exist (e.g. in tests) so that map
// keys are actually populated