Skip to content

Conversation

qfritz
Copy link
Contributor

@qfritz qfritz commented Mar 7, 2024

We faced some challenges with our team trying to include information in our jobs that had multiple targets, and couldn't use the static_labels in collectors in this specific case.

We were relying on the job_name, but it didn't seem like the best approach. After doing some research, we discovered that sql_exporter actually already had a feature to address this issue, even though it wasn't documented.

We've made a small addition to the README to help out any future users who may encounter the same issue as us.

@qfritz qfritz force-pushed the doc-labels-for-targets branch from b238094 to a7d6ce5 Compare March 7, 2024 11:03
@burningalchemist
Copy link
Owner

Hey @qfritz, thanks for your contribution! 👏

My next milestone is to rework the documentation completely, still trying to allocate some time for it. :)

@burningalchemist burningalchemist changed the title doc(README): mention the feature of labels for multiple targets in jobs docs(README): mention the feature of labels for multiple targets in jobs [skip ci] Mar 7, 2024
@burningalchemist burningalchemist merged commit c15d6ff into burningalchemist:master Mar 7, 2024
@qfritz qfritz deleted the doc-labels-for-targets branch March 7, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants