Skip to content

Conversation

@fearful-symmetry
Copy link
Contributor

@fearful-symmetry fearful-symmetry commented Jan 28, 2026

Change Summary

This adds two custom fields for reporting trusted ancestor lookup hits/misses:

  - Endpoint.metrics.events_cache.trusted_ancestors.hits
  - Endpoint.metrics.events_cache.trusted_ancestors.misses

I've never had to add anything to endpoint-package, so I'm not 100% sure I have everything completed here, even though I've run make clean all.

If you have alternate opinions about how these fields should be named, please tell me, I just came up with these in about 4 seconds.

Sample values

    "events_cache": {
        "trusted_ancestors": {
            "hits": 504,
            "misses": 23578
        }
    },

Release Target

9.x

For mapping changes:

  • I ran make after making the schema changes, and committed all changes
  • If these field(s) are "exception"-able, I made a companion PR to Kibana adding it (see Readme)
  • If this is a metadata change, I also updated both transform destination schemas to match

For Transform changes:

  • The new transform successfully starts in Kibana
  • The corresponding transform destination schema was updated if necessary

@fearful-symmetry fearful-symmetry requested review from a team as code owners January 28, 2026 18:58
Copy link
Contributor

@gabriellandau gabriellandau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add these fields to the sample metric document for the unit tests?

@fearful-symmetry fearful-symmetry enabled auto-merge (squash) January 29, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants