Skip to content

Re-define default exporter port 9922 #11

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

Merged
merged 4 commits into from
Jul 8, 2024

Conversation

synarete
Copy link
Collaborator

@synarete synarete commented Jul 7, 2024

Use default Samba-exporter port value from (same as NFS-Ganesha):

https://github.com/prometheus/prometheus/wiki/Default-port-allocations

Allow override via command-line flag.

synarete added 4 commits July 7, 2024 12:15
Follow NFS-Ganesha and use the default Prometheus port-allocations for
Samba-exporter (9922) as defined by:

  https://github.com/prometheus/prometheus/wiki/Default-port-allocations

Signed-off-by: Shachar Sharon <[email protected]>
Allow running exporter with explicit port-number. If input port-number
is non positive, use default port-number.

Signed-off-by: Shachar Sharon <[email protected]>
Allow user to control the Prometheus metrics port number. If non is
given, use default port-number.

Signed-off-by: Shachar Sharon <[email protected]>
Align exposed port-number with default Prometheus-exporter port.

Signed-off-by: Shachar Sharon <[email protected]>
@synarete synarete requested a review from phlogistonjohn July 7, 2024 09:40
Copy link
Collaborator

@phlogistonjohn phlogistonjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@synarete synarete merged commit 52f56aa into samba-in-kubernetes:main Jul 8, 2024
7 checks passed
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