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

Add monitoring stats to mapping script #13638

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

carsonip
Copy link
Member

@carsonip carsonip commented Jul 8, 2024

Motivation/summary

Add a script that modifies various files in-place to contain mappings generated from apm-server stats read from stdin.

Example usage: python3 script/stats_to_mapping.py ~/projects/beats/metricbeat/module/beat/_meta/fields.yml ~/projects/beats/metricbeat/module/beat/stats/_meta/fields.yml ~/projects/elasticsearch/x-pack/plugin/core/template-resources/src/main/resources/monitoring-beats.json ~/projects/elasticsearch/x-pack/plugin/core/template-resources/src/main/resources/monitoring-beats-mb.json ~/projects/integrations/packages/elastic_agent/data_stream/apm_server_metrics/fields/beat-fields.yml < apm-server.stats.json

Checklist

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

Related issues

Part of #13475

Copy link
Contributor

mergify bot commented Jul 8, 2024

This pull request does not have a backport label. Could you fix it @carsonip? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-7.17 is the label to automatically backport to the 7.17 branch.
  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.

NOTE: backport-skip has been added to this pull request.

@mergify mergify bot added the backport-skip Skip notification from the automated backport with mergify label Jul 8, 2024
@carsonip carsonip changed the title Add stats to mapping script Add monitoring stats to mapping script Jul 8, 2024
@v1v v1v added the backport-8.x Automated backport to the 8.x branch with mergify label Sep 10, 2024
@mergify mergify bot removed the backport-skip Skip notification from the automated backport with mergify label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants