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

configure service for embedded prometheus exporter #10

Merged
merged 3 commits into from Mar 27, 2024

Conversation

BDelacour
Copy link

Hi !

I don't know if it is the best way to do this but let me know if you want me to change some things

@fraenki fraenki self-assigned this Jan 4, 2023
@fraenki
Copy link
Member

fraenki commented Jan 4, 2023

@BDelacour Would you please have a look at the test failures? I'd recommend to run pdk validate and pdk test unit locally.

@BDelacour
Copy link
Author

BDelacour commented Jan 4, 2023

@BDelacour Would you please have a look at the test failures? I'd recommend to run pdk validate and pdk test unit locally.

I did it and it was ok. I'll have a look

I forgot to do it before a last minute commit. It should be ok :)

@BDelacour
Copy link
Author

@fraenki I investigated the el7 problem.

The solr-exporter service can't start because the script uses which (https://github.com/apache/solr/blob/main/solr/prometheus-exporter/bin/solr-exporter#L61) and it is not present by default in el7.
I tested to install it with yum install which and it was good.

I see two solutions :

Which solution do you prefer ? (the second looks like a "hack" for me, but the first is a bit fat for this little problem)

@BDelacour
Copy link
Author

Hello @fraenki, a little UP so this PR is not forgotten :)

I left a comment some days ago which requires your attention

Thank you !

@fraenki fraenki merged commit ffe26ff into markt-de:main Mar 27, 2024
@fraenki
Copy link
Member

fraenki commented Mar 27, 2024

Merged, thank you! Sorry that it took me so long, btw... :-/

fraenki added a commit that referenced this pull request Mar 27, 2024
This is a dependency for Solr's prometheus exporter.
@fraenki
Copy link
Member

fraenki commented Apr 3, 2024

Available in version 4.0.0:
https://forge.puppet.com/modules/markt/solr/changelog

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

Successfully merging this pull request may close these issues.

None yet

2 participants