Skip to content

Draft: add cloudflare periodic query

Clément Leroux requested to merge clem.lr-add-cloudflare-cost-metrics into master

Adds periodic queries to get Cloudflare metrics. Issue: https://gitlab.com/gitlab-org/quality/engineering-analytics/finops/finops-analysis/-/issues/161

It defines two queries: one to track the total number of requests received by a Cloudflare zone over the past hour, and another to track the total amount of data transferred through a Cloudflare zone over the past hour.

Problem: I'd like to get the result across all environments and https://gitlab.com/gitlab-com/runbooks/-/blob/4e9cfdd0a63e1e9e4ec98189967f11c9e27f6af6/scripts/perform-periodic-queries.rb#L21 seems to only be querying on gprd .

I'm not sure how to make this change without breaking the other queries.

Edited by Clément Leroux

Merge request reports