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 Proxy to Alertmanager client #14007

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pascal-sochacki
Copy link

@pascal-sochacki pascal-sochacki commented Aug 29, 2024

What this PR does / why we need it:

I added the option to add a proxy to the alertmanager client. My use use-case is to send out alerts to an external alertmanager which sits behind a http proxy

Which issue(s) this PR fixes:
Fixes #14009

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • For Helm chart changes bump the Helm chart version in production/helm/loki/Chart.yaml and update production/helm/loki/CHANGELOG.md and production/helm/loki/README.md. Example PR
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR

@CLAassistant
Copy link

CLAassistant commented Aug 29, 2024

CLA assistant check
All committers have signed the CLA.

@pascal-sochacki
Copy link
Author

pascal-sochacki commented Aug 29, 2024

I'm not quite sure if this is all i need to do... will test tomorrow and update the docs

Is adding this a change to Configuration parameters?

Your PR documents upgrading steps under docs/sources/setup/upgrade/_index.md if it changes:
Configuration parameters

Edit: seems to work

@pascal-sochacki pascal-sochacki changed the title Add Proxy to Alertmanager client feat: Add Proxy to Alertmanager client Aug 29, 2024
@github-actions github-actions bot added the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Aug 30, 2024
@pascal-sochacki
Copy link
Author

should i add the option to add the config via cli flags?

@pascal-sochacki pascal-sochacki marked this pull request as ready for review August 31, 2024 08:18
@pascal-sochacki pascal-sochacki requested a review from a team as a code owner August 31, 2024 08:18
@grobinson-grafana grobinson-grafana self-assigned this Sep 2, 2024
@grobinson-grafana
Copy link
Contributor

Would it be possible to squash this into a single commit? There are a lot of commits like Merge branch 'main' into main.

@pascal-sochacki
Copy link
Author

pascal-sochacki commented Sep 5, 2024

clicked the wrong button in the gh ui, there you go! --Or should i squash my 4 commits also into one?-- Done

@pascal-sochacki
Copy link
Author

pascal-sochacki commented Sep 12, 2024

Hey @grobinson-grafana, can you please look at the change and provide feedback?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ProxyConfig for Alertmanager notifications
3 participants