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

Feat(Forwarder Agent): Add a counter to track drops from egress diodes #399

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

ctlong
Copy link
Member

@ctlong ctlong commented Sep 29, 2023

Description

Emit a metric, egress_expired_total, per Forwarder Agent egress destination to track the number of envelopes dropped from that designation's diode.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Testing performed?

  • Unit tests
  • Integration tests
  • Acceptance tests

Checklist:

  • This PR is being made against the main branch, or relevant version branch
  • I have made corresponding changes to the documentation
  • I have added testing for my changes

If you have any questions, or want to get attention for a PR or issue please reach out on the #logging-and-metrics channel in the cloudfoundry slack

acrmp and others added 2 commits September 28, 2023 18:21
- Emit a metric when envelopes in the egress diode for the OTel
  Collector are overwritten before being converted and sent
- Removes OTel destination `Dropped 10000 envelopes for url
  127.0.0.1:9100` log lines in favour of this new metric.

Signed-off-by: Carson Long <[email protected]>
- Emit a metric when envelopes in the egress diode for Loggregator
  Servers are overwritten before being converted and sent
- We considered emitting this metric as `dropped` with a direction of
  egress. We chose not to do that to avoid affecting existing dashboards
  that operate on the existing dropped direction=ingress metric.

Signed-off-by: Andrew Crump <[email protected]>
@ctlong ctlong requested a review from a team as a code owner September 29, 2023 22:40
@acrmp acrmp merged commit 3535bb5 into main Sep 29, 2023
5 checks passed
@acrmp acrmp deleted the forwarder-agent-egress-drops branch September 29, 2023 23:27
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