Skip to content

Add diag_documents_volume#691

Open
nicholasberlin wants to merge 2 commits into
mainfrom
nberlin/add_diagnostic_metrics
Open

Add diag_documents_volume#691
nicholasberlin wants to merge 2 commits into
mainfrom
nberlin/add_diagnostic_metrics

Conversation

@nicholasberlin

Copy link
Copy Markdown
Contributor

Change Summary

Track diagnostic events volumes separately from production events.

Sample values

                "diag_documents_volume": {
                    "dns_events": {
                        "sent_bytes": 0,
                        "sent_count": 0,
                        "suppressed_bytes": 6331,
                        "suppressed_count": 4
                    },
                    "overall": {
                        "sent_bytes": 1819060,
                        "sent_count": 1101,
                        "suppressed_bytes": 9686398,
                        "suppressed_count": 5866
                    },
                    "process_events": {
                        "sent_bytes": 1819060,
                        "sent_count": 1101,
                        "sources": [
                            {
                                "sent_bytes": 1379792,
                                "sent_count": 827,
                                "source": "ptrace",
                                "suppressed_bytes": 7329613,
                                "suppressed_count": 4395
                            },
                            {
                                "sent_bytes": 439268,
                                "sent_count": 274,
                                "source": "termination",
                                "suppressed_bytes": 2350454,
                                "suppressed_count": 1467
                            }
                        ],
                        "suppressed_bytes": 9680067,
                        "suppressed_count": 5862
                    }
                },

Release Target

9.3

For mapping changes:

  • I ran make after making the schema changes, and committed all changes

@nicholasberlin nicholasberlin requested review from a team as code owners October 3, 2025 13:30
@nicholasberlin nicholasberlin requested review from pzl and tomsonpl October 3, 2025 13:30
@pzl pzl removed the request for review from tomsonpl October 3, 2025 13:31
@pzl

pzl commented Oct 9, 2025

Copy link
Copy Markdown
Member

Can you put the sample values from the comment into the file at package/endpoint/data_stream/metrics/sample_event.json?

also the extra diff on the README was a bug from elsewhere. When #695 merges, you can pull in main and running make again should not produce that diff anymore.

@nicholasberlin nicholasberlin force-pushed the nberlin/add_diagnostic_metrics branch from 5b737ea to 7d16892 Compare October 21, 2025 19:30
@nicholasberlin nicholasberlin force-pushed the nberlin/add_diagnostic_metrics branch from 7d16892 to d2e400b Compare June 2, 2026 19:07
@nicholasberlin nicholasberlin self-assigned this Jun 3, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

2 participants