Thanks for sharing that perspective. I hadn’t heard that before but I tend
to agree. I also prefer Prometheus debugging webpage on port 9090 over the
more limited info agent shows on 12345.

On the other hand, agent has remote.s3 which is a nice way to discover
targets securely, instead of http_sd.


On Thu, Jan 11, 2024 at 01:14 Ben Kochie <[email protected]> wrote:

> The Grafana agent isn't really meant for complex/large setups. If you have
> a large/dynamic target list you're probably better off just running normal
> Prometheus and exporters.
>
> On Thu, Jan 11, 2024 at 10:09 AM 'Elliott Balsley' via Prometheus Users <
> [email protected]> wrote:
>
>> I noticed Grafana Agent flow mode has many of the popular Prometheus
>> exporters built in.
>>
>> https://grafana.com/docs/agent/latest/flow/reference/components/prometheus.exporter.snmp/
>>
>> Unfortunately, these blocks require that you hard code the list of
>> targets in the config.river file, so there is no way to dynamically connect
>> it to a discovery block. Adding targets would require rewriting the config
>> file and restarting the service.
>>
>> I’m curious if anyone else has found a good use for these embedded
>> exporters?
>>
>> I’m currently running Prometheus embedded in the agent, receiving the map
>> of targets from HTTP discovery with some relabeling (multi-target exporter
>> pattern), and scraping a separate instance of snmp-exporter.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Prometheus Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/prometheus-users/CALajkdhS9Pk3LAHzDCUz4xDeosjtOY0yRKnLhrkFckY9WVMvnQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/prometheus-users/CALajkdhS9Pk3LAHzDCUz4xDeosjtOY0yRKnLhrkFckY9WVMvnQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CALajkdh00zcaaJ-QD7G_xf0BZmp_SArQo80qwyQCOwXCt_r8yw%40mail.gmail.com.

Reply via email to