-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numalogic original payload support #34
Conversation
Signed-off-by: sarabala1979 <sarabala1979@gmail.com>
Signed-off-by: sarabala1979 <sarabala1979@gmail.com>
Signed-off-by: sarabala1979 <sarabala1979@gmail.com>
Signed-off-by: sarabala1979 <sarabala1979@gmail.com>
Signed-off-by: sarabala1979 <sarabala1979@gmail.com>
This reverts commit 14f991b.
… into mv-changes
@@ -115,7 +115,7 @@ func (p *prometheusSink) Sink(ctx context.Context, datumStreamCh <-chan sinksdk. | |||
failed = failed.Append(sinksdk.ResponseFailure(datum.ID(), "failed to push the metrics")) | |||
} | |||
var pls []PrometheusPayload | |||
var prometheusPayload PrometheusPayload | |||
var prometheusPayloads []*PrometheusPayload | |||
for _, payloadMsg := range payloads { | |||
p.metrics.IncreaseTotalPushed() | |||
if p.enableMsgTransformer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a feature flag to support univariate payload and multivariate numalogic payload
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just temporary right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. once we moved to Multivariant. we can remove this code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rubber stamp
No description provided.