-
Notifications
You must be signed in to change notification settings - Fork 635
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
Fix metrics path not using command-line argument value #904
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Hugo Hromic <[email protected]>
SuperQ
approved these changes
Jul 1, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, good find. I must have missed that when I was adjusting the landing page code.
Happy to help! :) |
SuperQ
added a commit
that referenced
this pull request
Jul 4, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
Merged
SuperQ
added a commit
that referenced
this pull request
Jul 5, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [ENHANCEMENT] Improved Lookup process for label information #908 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
SuperQ
added a commit
that referenced
this pull request
Jul 6, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [ENHANCEMENT] Improved Lookup process for label information #908 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
RichiH
pushed a commit
that referenced
this pull request
Jul 6, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [ENHANCEMENT] Improved Lookup process for label information #908 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
SuperQ
added a commit
that referenced
this pull request
Jul 19, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [FEATURE] Improved Lookup process for label information #908 * [ENHANCEMENT] Add support for parsing SNMP transport from target #914 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
Merged
SuperQ
added a commit
that referenced
this pull request
Jul 19, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [FEATURE] Improved Lookup process for label information #908 * [ENHANCEMENT] Add support for parsing SNMP transport from target #914 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
SuperQ
added a commit
that referenced
this pull request
Jul 19, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [FEATURE] Add support for parsing SNMP transport from target #914 * [ENHANCEMENT] Improved Lookup process for label information #908 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
SuperQ
added a commit
that referenced
this pull request
Jul 20, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [FEATURE] Add support for parsing SNMP transport from target #914 * [ENHANCEMENT] Improved Lookup process for label information #908 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
SuperQ
added a commit
that referenced
this pull request
Jul 20, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [FEATURE] Add support for parsing SNMP transport from target #914 * [ENHANCEMENT] Improved Lookup process for label information #908 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
SuperQ
added a commit
that referenced
this pull request
Aug 9, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [FEATURE] Add support for parsing SNMP transport from target #914 * [ENHANCEMENT] Improved Lookup process for label information #908 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]>
Merged
SuperQ
added a commit
that referenced
this pull request
Aug 16, 2023
* Release v0.23.0 BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules #859 * [FEATURE] Add support for parsing SNMP transport from target #914 * [ENHANCEMENT] Improved Lookup process for label information #908 * [BUGFIX] Fix metrics path not using command-line argument value #904 Signed-off-by: SuperQ <[email protected]> * Lint dashboards Update dashboards to latest mixin linting. Signed-off-by: SuperQ <[email protected]> --------- Signed-off-by: SuperQ <[email protected]>
stephan-windischmann-sky
pushed a commit
to stephan-windischmann-sky/snmp_exporter
that referenced
this pull request
Oct 27, 2023
Signed-off-by: Hugo Hromic <[email protected]> Signed-off-by: Stephan Windischmann <[email protected]>
stephan-windischmann-sky
pushed a commit
to stephan-windischmann-sky/snmp_exporter
that referenced
this pull request
Oct 27, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules prometheus#859 * [ENHANCEMENT] Improved Lookup process for label information prometheus#908 * [BUGFIX] Fix metrics path not using command-line argument value prometheus#904 Signed-off-by: SuperQ <[email protected]> Signed-off-by: Stephan Windischmann <[email protected]>
stephan-windischmann-sky
pushed a commit
to stephan-windischmann-sky/snmp_exporter
that referenced
this pull request
Oct 27, 2023
BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules prometheus#859 * [FEATURE] Add support for parsing SNMP transport from target prometheus#914 * [ENHANCEMENT] Improved Lookup process for label information prometheus#908 * [BUGFIX] Fix metrics path not using command-line argument value prometheus#904 Signed-off-by: SuperQ <[email protected]> Signed-off-by: Stephan Windischmann <[email protected]>
stephan-windischmann-sky
pushed a commit
to stephan-windischmann-sky/snmp_exporter
that referenced
this pull request
Oct 27, 2023
* Release v0.23.0 BREAKING CHANGES: This version of the exporter introduces a new configuration file format. This new format separates the walk and metric mappings from the connection and authentication settings. This allows for easier configuration of different auth params without having to duplicate the full walk and metric mapping. See auth-split-migration.md for more details. * [CHANGE] Split config of auth and modules prometheus#859 * [FEATURE] Add support for parsing SNMP transport from target prometheus#914 * [ENHANCEMENT] Improved Lookup process for label information prometheus#908 * [BUGFIX] Fix metrics path not using command-line argument value prometheus#904 Signed-off-by: SuperQ <[email protected]> * Lint dashboards Update dashboards to latest mixin linting. Signed-off-by: SuperQ <[email protected]> --------- Signed-off-by: SuperQ <[email protected]> Signed-off-by: Stephan Windischmann <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
I casually discovered this bug while looking at the source code of the SNMP exporter.
The exporter currently hard codes
/metrics
instead of using the--web.telemetry-path
command-line argument value.The fix here aligns with the current approach in the Node Exporter:
https://github.com/prometheus/node_exporter/blob/c31ebb43590cb0055acd4bc00a432f6a2dafdd08/node_exporter.go#L188