Skip to content

grafana-agent integration doesn't work with -enable-features=integrations-next #3494

Answered by tpaschalis
chrmang asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there 👋 There are a few changes small changes you'll have to make in your config file to make use of integrations-next; they're documented here.

You can start by removing the enabled field and defining the autoscrape field with your metrics instance to send the metrics to and go from there!

server:
  log_level: debug

metrics:
  global:
    remote_write:
      - url: "http://localhost:9009/api/prom/push"
        basic_auth:
          username: "user"
          password: "secret"
  configs:
    - name: mymetricsinstance

integrations:
  agent:
    autoscrape:
      enable: true
      metrics_instance: "mymetricsinstance"

Let us know if you're experiencing any other issues!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@chrmang
Comment options

Answer selected by chrmang
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3493 on April 07, 2023 14:29.