SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
18.31k stars 1.17k forks source link

Add support for delta/runningdifference function #5577

Closed srikanthccv closed 1 month ago

srikanthccv commented 1 month ago

For example use case, the k8s_container_restarts is gauge metrics but produces a counter-like metric where it keeps track of a number of restarts. Currently, it just shows a straight line but users want to change the restart count. Add support for delta/difference on the result.

srikanthccv commented 1 month ago

The workaround is to use two queries with B time-shifted and use a formula https://app.intercom.com/a/inbox/wmkurvb7/inbox/admin/6745296/conversation/4215#part_id=comment-4215-9220