google / slo-generator

SLO Generator computes SLIs, SLOs, Error Budgets and Burn Rates from supported backends, then exports an SLO report to supported targets.
Apache License 2.0
489 stars 78 forks source link

SLO value not on a unique graph and not identifying bad and good events #230

Open pndsairbus opened 2 years ago

pndsairbus commented 2 years ago

Hi, GCP don't show me SLO on a unique graph and can't identify the count of "bad" and "good" events when filtering on 'custom.googleapis.com/events_count' metric.

fetch global | metric 'custom.googleapis.com/events_count' | filter (metric.error_budget_policy_step_name == 'Last 28 days' && metric.feature_name == 'process' && metric.service_name == 'prod' && metric.slo_name == 'availabilty') | group_by 1m, [value_events_count_mean: mean(value.events_count)] | every 1m | group_by [metric.good_events_count], [value_events_count_mean_mean: mean(value_events_count_mean)]

Any idea ?

lvaylet commented 2 years ago

Hi @pndsairbus,

I just took over the maintenance of the SLO Generator.

Were you able to sort out that issue? If not, can you show us what you get after this request, for example with a screenshot?