grafana / cloudcost-exporter

Prometheus Exporter for Cloud Provider agnostic cost metrics
Apache License 2.0
30 stars 1 forks source link

GCP GKE: Collect node metrics in the background #272

Open Pokom opened 1 month ago

Pokom commented 1 month ago

Overview

We're hitting a scaling point within Grafana Labs where the time to collect metrics for GKE instances is >40s. The current configuration is setup to scrape metrics every 60 seconds. This aligns with our TCO recording rules that calculate our TCO every minute. We'd like to avoid bumping the scrape duration above 60 seconds so that our TCO recording rules are as fresh as possible.

Here's a 90 day view of our scrape duration increased over that time:

image

Goals

@logyball already provided a nice framework to consider this work in his implementation of AKS metrics.