QuestionQ54Verified/PromQLCopy linkReport a problemAsk AstroTutorSave questionHow do you use the PromQL delta function?AOn gauge metrics to compute the difference between the first and last value of each time series element.BOn gauge metrics to compute the number of metric resets within the provided time range.COn counter metrics to compute the number of metric resets within the provided time range.DOn counter metrics to compute the difference between the first and last value of each time series element.Show AnswerAnswerExplanationPromQL delta() calculates the difference between the first and last value of every time-series element in a range vector, and it should be used only with gauge metrics. Prometheus query functionsLearn morePrometheus query functionsShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion