Closed TheSpiritXIII closed 3 months ago
Is there any way this can be separated out?
It already is -- go to the "Files changed" tab and on the top right directly underneath the tabs, there's a drop-down that says "All commits" where you can select which commit to review. Or do you mean you want this change without being rebased on top of the other change?
Ah ok - it wasn't clear to me that I should just review that commit.
If that's the case, I think most of my review comments outside of the rule-evaluator ones still apply - thanks for clarifying :)
Pre-req: https://github.com/GoogleCloudPlatform/prometheus-engine/pull/1001
ApplyConfig
now takesExporterOpts
, which allows runtime updates.exporter.New
now takes a context andRun
no longer does, which means theExporter
uses the same context throughout its lifetime.These changes allow us to update the metric client at runtime. When a metric client is updated, it may take: