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

Metrics - implement a samba metrics collector and exporter that is compatible with Prometheus #41

Closed
raghavendra-talur opened this issue Apr 28, 2021 · 3 comments

Comments

@raghavendra-talur
Copy link
Collaborator

raghavendra-talur commented Apr 28, 2021

The samba container should have a way to export the metrics. This will make it more cloud native solution.

Are there any other options that parsing smbstatus?

Notes:

  • Samba should be compiled with profiling enabled (--with-profiling-data)
@raghavendra-talur raghavendra-talur created this issue from a note in DEPRECATED - use project 3 "SINK Tasks" (Tasks - In Progress) Apr 28, 2021
@raghavendra-talur
Copy link
Collaborator Author

For CTDB specifically, there is no client library that lives outside the main samba code. The readily available option is to scrape the output of ctdb command line.

See https://www.spinics.net/lists/samba/msg166658.html

@raghavendra-talur
Copy link
Collaborator Author

raghavendra-talur commented Sep 24, 2021

After having looked at the options, we think it would be better to have samba and ctdb export their metrics in form that is easy to parse; something like json. The work required to make that happen is tracked in #46 .

The scope of this issue is now reduced to implementing a metrics collector and exporter that collects the metrics from samba and publishes it in a form that can be consumed by prometheus.

@raghavendra-talur raghavendra-talur changed the title Metrics - investigate how to bring Prometheus-style metrics into our pods. Metrics - implement a metrics collector and exporter that is compatible with Prometheus Sep 24, 2021
@raghavendra-talur raghavendra-talur changed the title Metrics - implement a metrics collector and exporter that is compatible with Prometheus Metrics - implement a samba metrics collector and exporter that is compatible with Prometheus Sep 24, 2021
@raghavendra-talur raghavendra-talur moved this from Tasks - In Progress to Task - TODO in DEPRECATED - use project 3 "SINK Tasks" Sep 24, 2021
@gd gd assigned gd and anoopcs9 Sep 28, 2021
@gd gd moved this from Task - TODO to Tasks - In Progress in DEPRECATED - use project 3 "SINK Tasks" Mar 24, 2022
@anoopcs9 anoopcs9 assigned synarete and unassigned gd and anoopcs9 Mar 29, 2022
@gd gd moved this from Tasks - In Progress to Tasks - Done in DEPRECATED - use project 3 "SINK Tasks" Jun 16, 2022
@anoopcs9
Copy link
Collaborator

This is done and is available with https://github.com/samba-in-kubernetes/smbmetrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants