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

enhancement(observability, sinks): Emit events for sent events in all HttpSink sinks #9275

Merged
merged 8 commits into from
Sep 22, 2021

Conversation

bruceg
Copy link
Member

@bruceg bruceg commented Sep 21, 2021

This ended up being pretty simple, as the events flow through only two paths for all these sinks.

After going in to add the metric documentation into each sink, I decided to move it into the common sink documentation, since it will eventually be added to all sinks, and the events_out_total is already documented there. If this is not appropriate, I can move it back to each individual sink.

Closes #9225

Signed-off-by: Bruce Guenter <bruce.guenter@datadoghq.com>
Signed-off-by: Bruce Guenter <bruce.guenter@datadoghq.com>
Signed-off-by: Bruce Guenter <bruce.guenter@datadoghq.com>
Signed-off-by: Bruce Guenter <bruce.guenter@datadoghq.com>
@bruceg bruceg added sink: http Anything `http` sink related type: enhancement A value-adding code change that enhances its existing functionality. domain: observability Anything related to monitoring/observing Vector labels Sep 21, 2021
@bruceg bruceg self-assigned this Sep 21, 2021
@netlify
Copy link

netlify bot commented Sep 21, 2021

✔️ Deploy Preview for vector-project ready!

🔨 Explore the source changes: dbefe49

🔍 Inspect the deploy log: https://app.netlify.com/sites/vector-project/deploys/614a6315a3dd280007ee47ea

😎 Browse the preview: https://deploy-preview-9275--vector-project.netlify.app

Copy link
Contributor

@spencergilbert spencergilbert left a comment

Choose a reason for hiding this comment

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

Common makes sense to me at least

docs/specs/component.md Show resolved Hide resolved
Copy link
Member

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

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

Just a couple of questions, otherwise looks good!

website/cue/reference/components/sinks.cue Outdated Show resolved Hide resolved
src/sinks/util/http.rs Show resolved Hide resolved
Signed-off-by: Bruce Guenter <bruce.guenter@datadoghq.com>
…lity

Signed-off-by: Bruce Guenter <bruce.guenter@datadoghq.com>
Signed-off-by: Bruce Guenter <bruce.guenter@datadoghq.com>
Copy link
Member

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

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

I'm not crazy about documenting it as being reported by all sinks yet, but hopefully all sinks do report it soon.

Signed-off-by: Bruce Guenter <bruce.guenter@datadoghq.com>
@bruceg bruceg enabled auto-merge (squash) September 21, 2021 23:00
@bruceg bruceg merged commit 7365947 into master Sep 22, 2021
@bruceg bruceg deleted the http-sink-observability branch September 22, 2021 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: observability Anything related to monitoring/observing Vector sink: http Anything `http` sink related type: enhancement A value-adding code change that enhances its existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add standard observability items to HttpSink framework
4 participants