open-telemetry / wg-prometheus

Workgroup for building Prometheus-OTLP interoperability for the OTEL Collector and Prometheus related discussions.
Apache License 2.0
41 stars 6 forks source link

[DNM] Demo code for CRD #27

Closed pingleig closed 3 years ago

pingleig commented 3 years ago

For https://github.com/open-telemetry/wg-prometheus/issues/23 this is a (little bit) cleaner version of a prototype CRD that runs prometheus sd on server, shard the targets and send to collectors. it has a naive internal auto scaler, and should work w/ external autoscaler after some extra work.

For better viewing experience see the fork https://github.com/pingleig/wg-prometheus/tree/clb/collector-load-balancer#read-the-code