From 89e4db32831b24ff11c08e48c389506beab35484 Mon Sep 17 00:00:00 2001 From: Jerry Leung Date: Thu, 19 Oct 2023 14:33:42 -0700 Subject: [PATCH] Commented out SignatureKey --- .../solarwindsapmsettingsextension/extension.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/collector/extension/solarwindsapmsettingsextension/extension.go b/collector/extension/solarwindsapmsettingsextension/extension.go index ae4d68ad81..a22b30ec20 100644 --- a/collector/extension/solarwindsapmsettingsextension/extension.go +++ b/collector/extension/solarwindsapmsettingsextension/extension.go @@ -120,7 +120,6 @@ func Refresh(extension *solarwindsapmSettingsExtension) { if value, ok := item.Arguments["TriggerStrictBucketRate"]; ok { arguments["TriggerStrictBucketRate"] = math.Float64frombits(binary.LittleEndian.Uint64(value)) } - if value, ok := item.Arguments["MetricsFlushInterval"]; ok { arguments["MetricsFlushInterval"] = int32(binary.LittleEndian.Uint32(value)) } @@ -136,9 +135,12 @@ func Refresh(extension *solarwindsapmSettingsExtension) { if value, ok := item.Arguments["ProfilingInterval"]; ok { arguments["ProfilingInterval"] = int32(binary.LittleEndian.Uint32(value)) } - if value, ok := item.Arguments["SignatureKey"]; ok { - arguments["SignatureKey"] = string(value) - } + /** + * We don't want to expose SignatureKey now + */ + //if value, ok := item.Arguments["SignatureKey"]; ok { + // arguments["SignatureKey"] = string(value) + //} } settings = append(settings, setting) }