Skip to content

Commit

Permalink
Commented out SignatureKey
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrytfleung committed Oct 19, 2023
1 parent 68adf07 commit 89e4db3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions collector/extension/solarwindsapmsettingsextension/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand All @@ -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)
}
Expand Down

0 comments on commit 89e4db3

Please sign in to comment.