Skip to content

Conversation

daveoy
Copy link
Contributor

@daveoy daveoy commented Mar 21, 2025

relates to #130

@daveoy daveoy requested a review from czerwonk as a code owner March 21, 2025 21:39
@daveoy
Copy link
Contributor Author

daveoy commented Mar 21, 2025

relates to #129

@czerwonk
Copy link
Owner

Looks good so far. I am not against a breaking change in 1.2.x. But if we do and get rid of the temporary solution we needed to this time, i would strongly argue to use a more structured config path. I have something like this in mind. In my opinion it is not clear that everything else than host are labels. If we do the breaking change with a custom unmarshaller, i would suggest something like in k8s.

targets:
  - host: google.com
    labels:
       my_label: my_value

This would also allow extensibility if we want to add something host specific beside labels in the future

What do you think?

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