From f72fb8e14b0e9feca55c970d6ee01d280fb79089 Mon Sep 17 00:00:00 2001 From: Leonard Goodell Date: Tue, 11 Oct 2022 10:53:10 -0700 Subject: [PATCH] feat: Use latest go-mod-bootstrap and disbale default common metrics by default Signed-off-by: Leonard Goodell --- cmd/core-command/res/configuration.toml | 4 ++-- cmd/core-data/res/configuration.toml | 4 ++-- cmd/core-metadata/res/configuration.toml | 4 ++-- cmd/support-notifications/res/configuration.toml | 4 ++-- cmd/support-scheduler/res/configuration.toml | 4 ++-- go.mod | 2 +- go.sum | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cmd/core-command/res/configuration.toml b/cmd/core-command/res/configuration.toml index e45cc4003d..87e2bba25a 100644 --- a/cmd/core-command/res/configuration.toml +++ b/cmd/core-command/res/configuration.toml @@ -23,8 +23,8 @@ LogLevel = "INFO" Interval = "30s" PublishTopicPrefix = "edgex/telemetry" # // will be added to this Publish Topic prefix [Writable.Telemetry.Metrics] # All service's metric names must be present in this list. - SecuritySecretsRequested = true - SecuritySecretsStored = true + SecuritySecretsRequested = false + SecuritySecretsStored = false [Writable.Telemetry.Tags] # Contains the service level tags to be attached to all the service's metrics # Gateway="my-iot-gateway" # Tag must be added here or via Consul Env Override can only chnage existing value, not added new ones. diff --git a/cmd/core-data/res/configuration.toml b/cmd/core-data/res/configuration.toml index 5ccc69e978..e7902815f8 100644 --- a/cmd/core-data/res/configuration.toml +++ b/cmd/core-data/res/configuration.toml @@ -15,8 +15,8 @@ LogLevel = "INFO" [Writable.Telemetry.Metrics] # All service's metric names must be present in this list. EventsPersisted = false ReadingsPersisted = false - SecuritySecretsRequested = true - SecuritySecretsStored = true + SecuritySecretsRequested = false + SecuritySecretsStored = false [Writable.Telemetry.Tags] # Contains the service level tags to be attached to all the service's metrics # Gateway="my-iot-gateway" # Tag must be added here or via Consul Env Override can only chnage existing value, not added new ones. [Service] diff --git a/cmd/core-metadata/res/configuration.toml b/cmd/core-metadata/res/configuration.toml index 138f51676d..58c8ff0513 100644 --- a/cmd/core-metadata/res/configuration.toml +++ b/cmd/core-metadata/res/configuration.toml @@ -20,8 +20,8 @@ LogLevel = "INFO" Interval = "30s" PublishTopicPrefix = "edgex/telemetry" # // will be added to this Publish Topic prefix [Writable.Telemetry.Metrics] # All service's metric names must be present in this list. - SecuritySecretsRequested = true - SecuritySecretsStored = true + SecuritySecretsRequested = false + SecuritySecretsStored = false [Writable.Telemetry.Tags] # Contains the service level tags to be attached to all the service's metrics # Gateway="my-iot-gateway" # Tag must be added here or via Consul Env Override can only chnage existing value, not added new ones. diff --git a/cmd/support-notifications/res/configuration.toml b/cmd/support-notifications/res/configuration.toml index 3fd19a92ee..f76c6265f3 100644 --- a/cmd/support-notifications/res/configuration.toml +++ b/cmd/support-notifications/res/configuration.toml @@ -22,8 +22,8 @@ ResendInterval = "5s" Interval = "30s" PublishTopicPrefix = "edgex/telemetry" # // will be added to this Publish Topic prefix [Writable.Telemetry.Metrics] # All service's metric names must be present in this list. - SecuritySecretsRequested = true - SecuritySecretsStored = true + SecuritySecretsRequested = false + SecuritySecretsStored = false [Writable.Telemetry.Tags] # Contains the service level tags to be attached to all the service's metrics # Gateway="my-iot-gateway" # Tag must be added here or via Consul Env Override can only chnage existing value, not added new ones. diff --git a/cmd/support-scheduler/res/configuration.toml b/cmd/support-scheduler/res/configuration.toml index fe314e10f5..d957356821 100644 --- a/cmd/support-scheduler/res/configuration.toml +++ b/cmd/support-scheduler/res/configuration.toml @@ -17,8 +17,8 @@ LogLevel = "INFO" Interval = "30s" PublishTopicPrefix = "edgex/telemetry" # // will be added to this Publish Topic prefix [Writable.Telemetry.Metrics] # All service's metric names must be present in this list. - SecuritySecretsRequested = true - SecuritySecretsStored = true + SecuritySecretsRequested = false + SecuritySecretsStored = false [Writable.Telemetry.Tags] # Contains the service level tags to be attached to all the service's metrics # Gateway="my-iot-gateway" # Tag must be added here or via Consul Env Override can only chnage existing value, not added new ones. diff --git a/go.mod b/go.mod index ed229770cc..cad6593e3f 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/edgexfoundry/edgex-go require ( bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 github.com/eclipse/paho.mqtt.golang v1.4.1 - github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.18 + github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.20 github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0-dev.18 github.com/edgexfoundry/go-mod-messaging/v2 v2.3.0-dev.20 github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 diff --git a/go.sum b/go.sum index d3c0e2882e..4fdb80e854 100644 --- a/go.sum +++ b/go.sum @@ -32,8 +32,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/eclipse/paho.mqtt.golang v1.4.1 h1:tUSpviiL5G3P9SZZJPC4ZULZJsxQKXxfENpMvdbAXAI= github.com/eclipse/paho.mqtt.golang v1.4.1/go.mod h1:JGt0RsEwEX+Xa/agj90YJ9d9DH2b7upDZMK9HRbFvCA= -github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.18 h1:ZX9wGoIE+ngrAEr2LYTif0EGQG34PDY/VQrH92lNopw= -github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.18/go.mod h1:QQPtK75bGbYH42tLrwgIV1xpiXufOR5mE/Wby/cxBqQ= +github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.20 h1:VGH0kc3YFkb3gO0PToagQtb/QCfWRqqK94xhOJvxNhs= +github.com/edgexfoundry/go-mod-bootstrap/v2 v2.3.0-dev.20/go.mod h1:QQPtK75bGbYH42tLrwgIV1xpiXufOR5mE/Wby/cxBqQ= github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 h1:AZeaAPJM5X93ITFgwbwluYDtYEJ7tkCMSlj35GwfLLU= github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0/go.mod h1:YP17JhMnXTitowXE13QJwFaKo0oc03iyoKLjWAYl4FE= github.com/edgexfoundry/go-mod-core-contracts/v2 v2.3.0-dev.18 h1:Smkhoqq9+XsMcs0B3JokAmIT7hXJy9eQWk6SYk9z4yE=