Skip to content

Splunk Observability scaler: add sum, count, latest aggregators #8097

Description

@js4683

Proposal

Extend the existing Splunk Observability scaler's queryAggregator metadata to support sum, count, and latest in addition to avg, max, and min.

The current implementation rejects these values as invalid. The proposed behavior is:

  • sum: return the sum of the datapoint values received during the query window.
  • count: return the number of datapoints received during the query window.
  • latest: return the most recently received datapoint value.

Existing aggregator behavior and validation remain unchanged.

Use-Case

SignalFlow queries can return multiple datapoints or series. Depending on the metric, scaling may need the total value, the number of datapoints, or the most recently received value rather than only the minimum, maximum, or average.

Is this a feature you are interested in implementing yourself?

Yes. The implementation is in #8098.

Anything else?

This extends an existing metadata field and does not add a new scaler, schema field, or deployment manifest.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions