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: pushgateway extra parameters #320

Conversation

weakcamel
Copy link
Contributor

Allow passing in additional parameters for the pushgateway binary

  • pushgateway_web_external_url - useful when running behind a reverse proxy
  • pushgateway_cli_extra_flags - additional extra flags for flexibility

Resolves #288

@weakcamel weakcamel changed the title pushgateway extra parameters feat: pushgateway extra parameters Mar 22, 2024
@github-actions github-actions bot added enhancement New feature or request roles/pushgateway labels Mar 22, 2024
@weakcamel weakcamel force-pushed the weakcamel/pushgateway_extra_cli_params branch from a0b982e to 55d9898 Compare March 22, 2024 11:13
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Mar 22, 2024
@weakcamel weakcamel force-pushed the weakcamel/pushgateway_extra_cli_params branch from 55d9898 to dceb0ca Compare March 22, 2024 11:22
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Mar 22, 2024
@weakcamel weakcamel force-pushed the weakcamel/pushgateway_extra_cli_params branch from dceb0ca to 24b74c8 Compare March 22, 2024 11:23
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Mar 22, 2024
@weakcamel weakcamel force-pushed the weakcamel/pushgateway_extra_cli_params branch from 24b74c8 to b63a01a Compare March 22, 2024 11:24
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Mar 22, 2024
Copy link
Member

@gardar gardar left a comment

Choose a reason for hiding this comment

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

Please add the new options to the argument specs as well, they are located under meta/argument_specs.yml

Copy link
Contributor

github-actions bot commented Apr 10, 2024

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and the docs are now incorporated into main:
https://prometheus-community.github.io/ansible/branch/main

@weakcamel
Copy link
Contributor Author

Please add the new options to the argument specs as well, they are located under meta/argument_specs.yml

Sure thing, done. PTAL

Copy link
Member

@gardar gardar left a comment

Choose a reason for hiding this comment

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

LGTM, can you please fix the DCO so that this can be merged?

@weakcamel weakcamel force-pushed the weakcamel/pushgateway_extra_cli_params branch from 3731594 to 57572f9 Compare April 10, 2024 12:04
@weakcamel
Copy link
Contributor Author

Changes made as requested (sorry for losing this out of my radar for so long).

Unfortunately there are currently some issues with the CI:
https://github.com/prometheus-community/ansible/actions/runs/10182776539/job/28166214532?pr=320

WARNING: Failed to pull docker image "quay.io/ansible/default-test-container:1.10.1". Waiting a few seconds before trying again.
ERROR: Failed to pull docker image "quay.io/ansible/default-test-container:1.10.1".

Rebased the changes and trying again.

@weakcamel
Copy link
Contributor Author

Rebase didn't help and I don't believe those failures are related to my changes.

@gardar @SuperQ could you please have another look?

weakcamel and others added 3 commits August 19, 2024 19:14
Allow passing in additional parameters for the pushgateway binary
* pushgateway_web_external_url - useful when running behind a reverse
  proxy
* pushgateway_cli_extra_flags - additional extra flags for
  flexibility

Signed-off-by: Waldek Maleska <[email protected]>
Signed-off-by: Waldek Maleska <[email protected]>
Co-authored-by: Ben Kochie <[email protected]>
Signed-off-by: Waldek Maleska <[email protected]>
@weakcamel weakcamel force-pushed the weakcamel/pushgateway_extra_cli_params branch from 7e453fe to b1bcedf Compare August 19, 2024 18:14
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Aug 19, 2024
@weakcamel
Copy link
Contributor Author

No traction so closing this PR.

@weakcamel weakcamel closed this Sep 12, 2024
@gardar
Copy link
Member

gardar commented Oct 18, 2024

@weakcamel sorry about the radio silence, was doing some major overhaul of the roles and tests in the background, which have now been merged #395 and #425
We can get this merged if you would be so kind to re-open and rebase this PR.

@weakcamel weakcamel reopened this Jan 10, 2025
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Jan 10, 2025
@weakcamel
Copy link
Contributor Author

PR reopened and rebased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roles/pushgateway
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How can I configure the web.external-url
5 participants