File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ func GetDefaultFeatures() []string {
7777 FeatureRegistration ,
7878 FeatureNginxConfigAsync ,
7979 FeatureNginxSSLConfig ,
80+ FeatureMetricsSender ,
8081 FeatureNginxCounting ,
8182 FeatureMetrics ,
8283 FeatureDataPlaneStatus ,
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ import (
1212 "strings"
1313 "sync"
1414
15- "github.com/nginx/agent/sdk/v2"
16-
1715 agent_config "github.com/nginx/agent/sdk/v2/agent/config"
1816 "github.com/nginx/agent/sdk/v2/client"
1917 "github.com/nginx/agent/sdk/v2/proto"
@@ -77,6 +75,7 @@ func (r *MetricsSender) Process(msg *core.Message) {
7775 r .readyToSend .Store (false )
7876 r .readyToSendMu .Unlock ()
7977 }
78+ return
8079 }
8180 if msg .Exact (core .CommMetrics ) {
8281 payloads , ok := msg .Data ().([]core.Payload )
You can’t perform that action at this time.
0 commit comments