synthetic-monitoring-app icon indicating copy to clipboard operation
synthetic-monitoring-app copied to clipboard

Decouple from Grafana.cloud

Open te4336 opened this issue 4 years ago • 6 comments

Has any thought been given to decoupling this to where it can be ran with an on-prem instance of Grafana/Prometheus/Loki? I know it's a sales driver for Grafana Cloud but this would be a major step forward for those that are running On-Prem stacks.

te4336 avatar Oct 06 '20 19:10 te4336

Just to understand the request, what would the expectation be:

  • Use an on prem Grafana?
  • Write to an on-prem Prometheus / Loki?
  • Run all probes on prem?
  • Run some probes on prem?

mem avatar Oct 08 '20 13:10 mem

@mem Yes this would be for Prometheus/Grafana instances that are on-Prem, may or may not write to an On-Prem Loki instance (This should be irrelevant), and most probes are ran on Prem but some may be ran against services in the public cloud.

te4336 avatar Oct 15 '20 18:10 te4336

Thanks, @te4336. We do make certain assumptions as to how the authentication proceeds (but as long as you can provide the probe with URL/username/password it should work), and in general writing to an on-prem Prometheus from a public probe would be difficult (the Prometheus instance might not be reachable from the Internet), that's why I was asking what this would entail.

Thinking...

mem avatar Oct 16 '20 12:10 mem

The more I think about this, the more convinced I become that the right way to address this is a different implementation of the API, because the assumptions related to Grafana Cloud all live there.

mem avatar Jan 14 '21 21:01 mem

@mem This could be done by enforcing remote write for the on prem metrics, e.g. must be against cortext or mimir and loki with exposed remotewrite.

paullryan avatar May 17 '22 16:05 paullryan

+1 to making this available as an on-prem install. To solve some of the issues with needing a write path, perhaps couple the metrics output with an OpenTelemetry Collector, and provide the ability for users to update the Collector configuration as needed to suit their backend ingestion pipeline. This way you could default to Grafana Cloud, but provide the flexibility to fit into various prometheus backends

disfluxly avatar Feb 01 '23 21:02 disfluxly