alloy's discovery.process block does not export 'targets' field #656
-
Following is part of my config.alloy file
When alloy started, it says
I followed instruction of grafana agent document I followed the configuration exactly as described in this document. Could there be a difference in the configuration methods between Grafana Agent and Alloy? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No, there are no configuration changes between Grafana Agent Flow and Alloy. If I'm reading this correctly, the error complains about the export of So we'll have to update the documentation, but in the meantime you can change the offending line to |
Beta Was this translation helpful? Give feedback.
No, there are no configuration changes between Grafana Agent Flow and Alloy.
If I'm reading this correctly, the error complains about the export of
discovery.relabel.agent
, which isoutput
: https://grafana.com/docs/alloy/latest/reference/components/discovery.relabel/#exported-fieldsSo we'll have to update the documentation, but in the meantime you can change the offending line to
discovery.relabel.agent.output
and it should work! cc @simonswine