When I'm setting up my Grafana Agent, I see only the "scraping" option, so the agent itself needs to poll my java app (e.g. /actuator/metrics
endpoint). I'm wondering if it's possible to have the "push" approach instead.
Basically, I want the same as we could do to collect traces: add otlp java agent to our application, set a grpc/http receiver on the agent side and that's it. But it seems that you cannot have receivers
block for metrics
section (which exists in traces
section).
I'm using Grafana Agent v0.31 if it matters.