Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature[cmd/exporter]: add config type #27

Merged
merged 4 commits into from
Nov 23, 2022
Merged

Conversation

inkel
Copy link
Collaborator

@inkel inkel commented Nov 22, 2022

This new type allows to easier passing around of configuration values to the functions running the exporter. It also paves the road to adding/removing configuration options without having to unnecessarily change the function signatures.

This will make it easier to pass additional configuration values to
all functions.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
@inkel inkel self-assigned this Nov 22, 2022
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
While at it, fix typo.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
@inkel inkel merged commit f32f873 into main Nov 23, 2022
@inkel inkel deleted the exporter/feature/config-type branch November 23, 2022 12:29
@inkel inkel added this to the Release as OSS milestone Nov 30, 2022
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.

None yet

1 participant