-
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
[filebeat][gcs] - Added input metrics #41505
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs for the input will need updated to include a Metrics section with table.
This pull request is now in conflicts. Could you fix it? 🙏
|
@andrewkroh, I've addressed all the PR suggestions. |
gcsObjectsListedTotal: monitoring.NewUint(reg, "gcs_objects_listed_total"), | ||
gcsBytesProcessedTotal: monitoring.NewUint(reg, "gcs_bytes_processed_total"), | ||
gcsEventsCreatedTotal: monitoring.NewUint(reg, "gcs_events_created_total"), | ||
gcsFailedJobsTotal: monitoring.NewUint(reg, "gcs_failed_jobs_total"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a gauge.
gcs_failed_jobs_gauge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should not be a gauge, I'll remove the Dec(). FailedJobsTotal - ExpiredFailedJobsTotal = Recovered Jobs, at any given point of time.
@andrewkroh, I've addressed all the latest suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(cherry picked from commit 821697d)
(cherry picked from commit 821697d) Co-authored-by: ShourieG <[email protected]>
Type of change
Proposed commit message
Added input metrics along with some basic tests.
Checklist
- [] I have made corresponding changes to the documentation- [ ] I have made corresponding change to the default configuration filesCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.NOTE
Ignore linting errors
Disruptive User Impact
None
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs