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

Metrics are not received when / is at the end or server url #356

Closed
ArtemLavrentii opened this issue Feb 21, 2021 · 0 comments · Fixed by #1080
Closed

Metrics are not received when / is at the end or server url #356

ArtemLavrentii opened this issue Feb 21, 2021 · 0 comments · Fixed by #1080
Assignees
Labels
agent-php bug Something isn't working from a real user This issue is from a real user (i.e., not an issue we found during internal testing) priority: high triaged
Milestone

Comments

@ArtemLavrentii
Copy link
Contributor

Describe the bug
server urls that have / at the end shouldn't break agents ability to send metrics

To Reproduce
Steps to reproduce the behavior:

  1. Change elastic_apm.server_url to url that has / at the end. For example:
elastic_apm.server_url = https://example.com/

I also recommend changing service name to something new
2. Reload php/etc
3. Send a request
4. Check Kibana APM, you wouldn't find your request / service

Expected behavior
URLs both with ending / and without it should work.

@ArtemLavrentii ArtemLavrentii added the bug Something isn't working label Feb 21, 2021
@SergeyKleyman SergeyKleyman added the from a real user This issue is from a real user (i.e., not an issue we found during internal testing) label Apr 12, 2021
@SergeyKleyman SergeyKleyman added this to the 8.11 milestone Aug 22, 2023
intuibase added a commit to intuibase/apm-agent-php that referenced this issue Oct 2, 2023
@intuibase intuibase self-assigned this Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-php bug Something isn't working from a real user This issue is from a real user (i.e., not an issue we found during internal testing) priority: high triaged
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants