Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

apm-server multiple ingress rules. #1047

Closed
CyberHippo opened this issue Feb 5, 2021 · 7 comments
Closed

apm-server multiple ingress rules. #1047

CyberHippo opened this issue Feb 5, 2021 · 7 comments
Labels

Comments

@CyberHippo
Copy link

It would be nice for the apm-server ingress.yaml to support multiple host/path rules like logstash or elasticsearch does.
Maybe through changes similar to #994.
Thanks.

@jmlrt jmlrt added apm-server enhancement New feature or request labels Feb 24, 2021
@jmlrt
Copy link
Member

jmlrt commented Feb 24, 2021

Hi @CyberHippo,
Thanks for reporting this request.
Would you be interested to provide a PR like #994 for it?

@CyberHippo
Copy link
Author

Hi @jmlrt,
Yes, I'll take a look as soon as possible.

@rkennedy-tpl
Copy link

I was looking into APM+RUM and I think I need to create a public-facing ingress and expose PATHs to customer browsers.

I went into the apm-server source and found the specific paths used for RUM ingest => https://github.com/elastic/apm-server/blob/f4e0620ccaa090315d17869d0e5ac4bbdf66b5f7/beater/api/mux.go#L59-L67

so the ideal solution is flexible enough that I can allow only /intake/v2/rum/events and /intake/v3/rum/events on a public-facing ingress and block all other PATHs.

I may want /assets/v1/sourcemaps (possibly with different rules/restrictions) so my CICD service can upload sourcemaps. I'm not planning on using /config/v1/rum/agents for auto-config, but someone else might want it.

I've found the other elastic helm-chart ingresses plenty flexible for similar goals, so something similar to #994 should be sufficient for my needs too.

@botelastic
Copy link

botelastic bot commented Jul 12, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic
Copy link

botelastic bot commented Aug 11, 2021

This issue has been automatically closed because it has not had recent activity since being marked as stale.

@botelastic botelastic bot closed this as completed Aug 11, 2021
@jmlrt jmlrt reopened this Sep 21, 2021
@botelastic botelastic bot removed the triage/stale label Sep 21, 2021
@botelastic
Copy link

botelastic bot commented Dec 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic
Copy link

botelastic bot commented Jan 19, 2022

This issue has been automatically closed because it has not had recent activity since being marked as stale.

@botelastic botelastic bot closed this as completed Jan 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants