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

Add metrics to the jdbc input operations #155

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

purbon
Copy link

@purbon purbon commented Aug 1, 2016

Add metrics to track:

  • events processed.

  • connections open.

  • operations performed with the database

  • errors that happened during execution.

  • small others last sql_value, query size, etc (useful to debug behaviour).

related to elastic/logstash#5607 elastic/logstash#5717

elsif @charset
converter = @converters[@charset]
converter.convert(value)
metric.increment(:encoding_conversions)
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure about the usefulness of theses metrics?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants