Hello ~ so I have a counter metric that I am trending as a rate, to indicate the number of events processed per second. The trend may have some gaps (see screenshot). The gaps could be attributed either to no events to process (quiet window) or the service is down. I'm trying to make a prom query that measures those gaps and trend them over time in a separate graph. For example in the screenshot below, trending these gaps would ideally give me a flat line (0) when data > 0, and then a spike (at the end of the gap) indicating a value of about 24 hours (in minutes) in then Y-axis for the large gap, and then towards the right a spike of 50 minutes for the smaller gap. I tried a few queries using count_over_time and sum_over_time but I haven't yet hit the nail. Any tips?
Grafana: How to measure duration when metric is missing or 0?
31 Views Asked by sOltan At
0
There are 0 best solutions below
Related Questions in PROMETHEUS
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- How do we configure prometheus server to scrape metrics from a pod with Istio sidecar proxy?
- Concept of _sum in prometheus histogram
- Telegraf input.exec not working with json
- Concept of process_cpu_seconds_total in prometheus
- Micrometer - Custom Gauge Metric Not Working
- wrong timestamp in promql
- Data visualization on Grafana dashboard
- Micrometer & Prometheus with Java subprocesses that can't expose HTTP
- How can I collect metrics from a Node.js application running in a Kubernetes cluster to monitor HTTP requests with status codes 5xx or 4xx?
- How do you filter a Prometheus metric based on the existence of a label in another metric?
- calculating availability of node using SysUpTime.0 variable collcted in prometheus and exposing to grafana
- Thanos Querier not showing metrics sent to hub Prometheus via remote write
- How to have multiple rules file on Loki (Kubernetes)?
- Monitoring Thread pool metrics through promethues
Related Questions in GRAFANA
- Creating and "Relating" variables with eachother, with tags from influxdb measurement on Grafana 10
- Creating variables on grafana version 10 from influxdb v2.7 fields
- Can't use panel with transformation as source panel
- Filtering for the Most Recent Log Entry Per System in Loki Over a Time Range
- K6 scenarios to generate specific request per second rate
- Data visualization on Grafana dashboard
- How to match a static list of system names against logs in Loki/Grafana to find inactive systems?
- sqlite error when migrating data from sqlite3 to postgresql using pgloader
- How can I collect metrics from a Node.js application running in a Kubernetes cluster to monitor HTTP requests with status codes 5xx or 4xx?
- KQL Query to filter Message based on Grafana Variable
- calculating availability of node using SysUpTime.0 variable collcted in prometheus and exposing to grafana
- Grafana error: function "humanize" not defined
- Loki on ecs crashes when cleaning up chunks
- SSO to Grafana embeded in iframe
- Plotly in grafana, avoid clashing plot and legend
Related Questions in PROMQL
- wrong timestamp in promql
- How do you filter a Prometheus metric based on the existence of a label in another metric?
- What is the PromQL for MAU (Monthly Active Users)?
- how to list all the missing series though the count_over_time over a condition is not met
- Grouped bar chart from counter
- value specific query, how to substiture "No Errors found" instead of "no data"
- Detecting spikes in PromQL by comparing short-term to long-term rates of change
- Prometheus sum by rate give crazily high spike
- Fail to add filters in API Prometheus query via awscurl python module
- PromQL "outer-join"-like behaviour
- How to calculate service uptime/downtime duration in Grafana/Prometheus
- VictoriaMetrics, MetricsQL - Omit certain labels when computing aggregate function
- How to select multiple time series in a Prometheus line graph
- Grafana: How to measure duration when metric is missing or 0?
- Prometheus rate returns 0 when same observation for a while
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
