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(internal_metrics source): instrument "stdin" source #3151

Merged
merged 2 commits into from
Jul 28, 2020

Conversation

JeanMertz
Copy link
Contributor

@JeanMertz JeanMertz commented Jul 22, 2020

ref: #2007
closes #3207

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz JeanMertz marked this pull request as ready for review July 24, 2020 09:22
@JeanMertz JeanMertz requested a review from bruceg as a code owner July 24, 2020 09:22
@bruceg bruceg added source: stdin Anything `stdin` source related type: enhancement A value-adding code change that enhances its existing functionality. labels Jul 24, 2020
@bruceg bruceg changed the title feat(internal_metrics source): instrument "stdin" source enhancement(internal_metrics source): instrument "stdin" source Jul 24, 2020
@binarylogic binarylogic merged commit 7d0dbc9 into master Jul 28, 2020
@binarylogic binarylogic deleted the jean/internalevents-stdin branch July 28, 2020 21:50

impl InternalEvent for StdinEventReceived {
fn emit_logs(&self) {
trace!(message = "received one event.", rate_limit_secs = 10);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we have rate_limit_secs for trace! log? Currently only stdin and file use it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Not for tracing, in my opinion.

mengesb pushed a commit to jacobbraaten/vector that referenced this pull request Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: stdin Anything `stdin` source 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.

Define events for the stdin source
4 participants