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.
pull/6144/head
Johan Brandhorst-Satzkorn 6 months ago committed by GitHub
parent 003007aaa3
commit 8f5bb3a8b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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"

@ -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

Loading…
Cancel
Save