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

feat: add systemd unit active state gauge #4

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

LaurentMontBlanc
Copy link
Contributor

No description provided.

@LaurentMontBlanc LaurentMontBlanc linked an issue Apr 10, 2024 that may be closed by this pull request
README.md Outdated
@@ -15,5 +15,5 @@ rpc-pass = 'password' // elementsd rpc password
rpc-user = 'user' // elementsd rpc user
service-bind = 'localhost'
service-port = 8080
wallets = 'wallet1,wallet2' // liquid wallets
service-units = '' // systemd units
Copy link
Contributor

Choose a reason for hiding this comment

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

better to give a real example here, because i can see that the string passed here "only" splits at ,. So if one puts in service-units = 'foo;bar', which looks ok, the exporter won't work correctly

Copy link
Contributor

Choose a reason for hiding this comment

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

and as it seems the units need to be specified with .service extension for another string split. so a good example imho would be service-units = 'foo.service,bar.service'.

README.md Outdated
@@ -15,5 +15,5 @@ rpc-pass = 'password' // elementsd rpc password
rpc-user = 'user' // elementsd rpc user
service-bind = 'localhost'
service-port = 8080
wallets = 'wallet1,wallet2' // liquid wallets
service-units = '' // systemd units
Copy link
Contributor

Choose a reason for hiding this comment

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

and as it seems the units need to be specified with .service extension for another string split. so a good example imho would be service-units = 'foo.service,bar.service'.

@LaurentMontBlanc LaurentMontBlanc merged commit c435afb into main Apr 11, 2024
1 check 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.

add service health status gauge
2 participants