As you might have seen, we are slowly getting new SD's into prometheus
core. We had 4 new SD's in the last weeks.
When the issue for Kuma arrived in te bug tracker, there were some
leftover questions, like did you try the DNS-SD? Then the issue was
directly closed.
If you have the Prometheus Operator, you have a my understanding is that
you can make your "generic sd" by creating Probe CRD's (e.g. from within
the kuma controllers). Did you consider that option too? If you are not
in kube then you don't have shared mountpoints issues.
Should we have a generic SD, I would not like that much GRPC as would
bring many dependencies, that we already had issues with. Additionally,
we have more chances to use a more-established standard like HTTP (with
long poll). Especially since the communications only need to be one-way.
I also think that such SD's should be limited to what they do, and that
it should be less flexible than the current file_sd. I think that any
generic remote file_sd should have constraints, such as all the labels
should be prefixes with __meta unless the __address__ label. We should
try to enforce on those SD's the same rules we have kept for the SD's
that are implemented now.
> >>>> - In the context of a Service Mesh, there is always a notion of a
> >>>> Control Plane that coordinates telemetry among other things
> >>>> - It would be perfect for overall user experience if a Control
> >>>> Plane could also become a source of scrape targets (specifically, for
> >>>> collecting metrics out of side-car proxies)
> >>>> - As a way to achieve that, we would like to propose to introduce a
> >>>> gRPC interface for SD that Control Planes could implement
> >>>> - The choice of gRPC will enable effective server-side streaming of
> >>>> SD information, and it will remove the requirement on users to think
> >>>> upfront about refresh intervals they cannot choose reliably anyway
> >>>> - There is already a well-defined, battle-tested and widely used
> >>>> protocol for delivering discovery information - Envoy xDS API
> >>>> <
https://www.envoyproxy.io/docs/envoy/latest/api-docs/xds_protocol>
> >>>> - Based on all the above, we would like to ask if Prometheus
> >>> <
https://groups.google.com/d/msgid/prometheus-developers/cb86c927-8642-45b0-bf33-00d14e09aec7%40googlegroups.com?utm_medium=email&utm_source=footer>
> >>> .
> >> <
https://groups.google.com/d/msgid/prometheus-developers/CAJsMHLKWheCeGT_MiEGjrxbPpR8_t-nFmCgu4Vps5OE66-mekQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> >> .
> >>
> >
> >
> > --
> > Brian Brazil
> >
www.robustperception.io
> >
>
> --
> You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
prometheus-devel...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-developers/8894963b-f578-4898-a3ff-d0b963a3e3a4n%40googlegroups.com.
--
Julien Pivotto
@roidelapluie