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
Add tags field to internal_metrics data stream #8292
Conversation
8564791
to
c354865
Compare
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Test errorsExpand to view the tests failures
|
🌐 Coverage report
|
(cherry picked from commit 6c84207)
(cherry picked from commit 6c84207) # Conflicts: # apmpackage/apm/changelog.yml
* docs: add 8.2.3 release notes * Add fix #8292 to the release notes * Update changelogs/8.2.asciidoc Co-authored-by: DeDe Morton <dede.morton@elastic.co>
* docs: add 8.2.3 release notes (#8313) * docs: add 8.2.3 release notes * Add fix #8292 to the release notes * Update changelogs/8.2.asciidoc Co-authored-by: DeDe Morton <dede.morton@elastic.co> (cherry picked from commit 6b4727a) * fix link Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co> Co-authored-by: DeDe Morton <dede.morton@elastic.co>
* docs: add 8.2.3 release notes (#8313) * docs: add 8.2.3 release notes * Add fix #8292 to the release notes * Update changelogs/8.2.asciidoc Co-authored-by: DeDe Morton <dede.morton@elastic.co> (cherry picked from commit 6b4727a) * fix link Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co> Co-authored-by: DeDe Morton <dede.morton@elastic.co>
Motivation/summary
Documents added to
metrics-apm.internal-<namespace>
may haveclient.ip
, and may require geoIP enrichment. If the geoip ingest processor cannot download the database, it will add a tag to the document. As we do not have thetags
field defined, and we use strict mapping for this data stream, this leads to an indexing error.Checklist
- [ ] Update CHANGELOG.asciidocapmpackage
have been made)- [ ] Documentation has been updatedHow to test these changes
ingest.geoip.downloader.enabled=false
to its environment and removing the ingest-geoip volume.curl -H "X-Real-Ip: 8.8.8.8" -X POST -H Content-Type:application/x-ndjson http://localhost:8200/intake/v2/rum/events --data-binary @testdata/intake-v2/metricsets.ndjson
With the fix, metric documents should be indexed with a
tags
field.Related issues
Closes #7465