thanos icon indicating copy to clipboard operation
thanos copied to clipboard

Federate the api/v1/status/tsdb endpoint from Prometheus

Open fpetkovski opened this issue 3 years ago • 5 comments
trafficstars

Is your proposal related to a problem?

It would be great if Thanos Query could federate the api/v1/status/tsdb endpoint from Prometheus instances. This will allow users to analyze cardinality on the fly.

Describe the solution you'd like

Thanos Query could fanout to Prometheus sidecars and return a federated result from all endpoints.

Describe alternatives you've considered

We currently run https://github.com/thought-machine/prometheus-cardinality-exporter, but this requires ingesting metrics which further increases cardinality :)

fpetkovski avatar May 30 '22 15:05 fpetkovski

Yes, I would see that as a potential gRPC API for our endpoints that Querier could merge.

We currently run https://github.com/thought-machine/prometheus-cardinality-exporter, but this requires ingesting metrics which further increases cardinality :)

Not if you use separate meta-monitoring which is a best practice (:

I think the main questions is to nail down exact API - what we want to people use it for and if a nice metric exposed by the receiver to meta-monitoring cannot fulfil the same purpose.

Potential Why nots

  • Metrics exposed by receiver could hold the same information?
  • Is this data for admin / operator of Thanos or for Thanos user?

bwplotka avatar Jun 16 '22 15:06 bwplotka

Hello 👋 Looks like there was no activity on this issue for the last two months. Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗 If there will be no activity in the next two weeks, this issue will be closed (we can always reopen an issue if we need!). Alternatively, use remind command if you wish to be reminded at some point in future.

stale[bot] avatar Sep 21 '22 02:09 stale[bot]

@fpetkovski Any next step for this issue?

yeya24 avatar Oct 11 '22 16:10 yeya24

Unfortunately I don't have capacity to work on this right now, I am primarily focused on the new engine. If no one has stepped up to tackle this, maybe we can close it for now?

fpetkovski avatar Oct 12 '22 07:10 fpetkovski

Hello, it could be nice to have this feature :)

DanielCastronovo avatar Mar 14 '24 15:03 DanielCastronovo