-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Azure] Add input metrics to the azure-eventhub input #35739
Merged
girodav
merged 13 commits into
elastic:main
from
zmoog:zmoog/azure-eventhub-input-metrics
Aug 15, 2023
Merged
[Azure] Add input metrics to the azure-eventhub input #35739
girodav
merged 13 commits into
elastic:main
from
zmoog:zmoog/azure-eventhub-input-metrics
Aug 15, 2023
Commits on Aug 14, 2023
-
Draft input metrics about events and records
In this first iteration, the metrics keep track of the following data types: - events - records Events are the event delivered by the event hub; each event usually contains a list of records. Records are the actual logs from Azure; the input creates one document in Elasticsearch for each record. This draft keeps track of the following conditions. Events: - received: the input received from an event from the Event Hub - sanitized: the event contains invalid JSON, and the input tried fixing it - deserialization failed: the event contains invalid JSON; sanitization was ineffective - processed: the input processed all the records in the event Records: - received: the input unpacked a record from an event - serialization failed: failed to serialize the record for dispatching - processed: the input dispatched the record to the outlet
Configuration menu - View commit details
-
Copy full SHA for 4c3d276 - Browse repository at this point
Copy the full SHA 4c3d276View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e149b5 - Browse repository at this point
Copy the full SHA 1e149b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3508c13 - Browse repository at this point
Copy the full SHA 3508c13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46792ef - Browse repository at this point
Copy the full SHA 46792efView commit details -
Set input ID with the config hash
On v1 inputs, using the hash function of the config is a common practice.
Configuration menu - View commit details
-
Copy full SHA for a7d7dc3 - Browse repository at this point
Copy the full SHA a7d7dc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6be69dd - Browse repository at this point
Copy the full SHA 6be69ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for b612d6d - Browse repository at this point
Copy the full SHA b612d6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7be9357 - Browse repository at this point
Copy the full SHA 7be9357View commit details -
Move input ID and metrics closer
This way it's more evident the two go along together. I am also adding comments for underline the ID will go away as we migrate the input to the input V2 API.
Configuration menu - View commit details
-
Copy full SHA for 754337a - Browse repository at this point
Copy the full SHA 754337aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1649f79 - Browse repository at this point
Copy the full SHA 1649f79View commit details -
Adds a few more log message during major lifecycle events like failures in event publishing and input stopping.
Configuration menu - View commit details
-
Copy full SHA for 9d48263 - Browse repository at this point
Copy the full SHA 9d48263View commit details -
Configuration menu - View commit details
-
Copy full SHA for c934192 - Browse repository at this point
Copy the full SHA c934192View commit details
Commits on Aug 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cbc4fde - Browse repository at this point
Copy the full SHA cbc4fdeView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.