elastic / elastic/apm-server

Add pagination support to kibana sourcemap fetcher

Open
#10,864 0 comments 0 reactions 0 assignees View on GitHub
8.10-candidate bug
Dominant language
Go
Stars
1.3k
Forks
543
Avg merge
1d 18h
Merged PRs (30d)
109

Description

**APM Server version** (`apm-server version`):

**Description of the problem including expected versus actual behavior**:

Kibana sourcemap fetcher does not support pagination. As a result, only the first 20 sourcemaps are returned.

See https://github.com/elastic/kibana/issues/129940

See https://github.com/elastic/apm-server/blob/5d7c9ba65bbea1059de70c6f3ae6d7ea594ec0a2/internal/sourcemap/kibana.go#L61

**Steps to reproduce**:

Please include a *minimal* but *complete* recreation of the problem,
including server configuration, agent(s) used, etc. The easier you make it
for us to reproduce it, the more likely that somebody will take the time to
look at it.

1. Upload 20+ sourcemaps
2. send stacktrace for each of them
3. Not all of them are applied

**Provide logs (if relevant)**:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.