Skip to content

Using Helm and set job list in Terraform #498

Closed Answered by burningalchemist
MacaulaySouza asked this question in Q&A

You must be logged in to vote

Btw, here's a working example:

jobs:
  - job_name: db_targets1
    collectors: [mydb]
    static_configs:
        - targets:
            test1: 'dsn'
          labels:
            test: test
  - job_name: db_targets2
    collectors: [mydb]
    static_configs:
        - targets:
            csv3: 'dsn'

It seems there's a typo in the README (extra list for labels), I'll make sure it's corrected. 👍

Replies: 1 comment 3 replies

You must be logged in to vote
3 replies
@burningalchemist

Answer selected by MacaulaySouza
@MacaulaySouza

@burningalchemist

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