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

[8.15](backport #40661) [GCP] Log ListTimeSeries and AggregatedList requests duration #40846

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 16, 2024

Overview

Adds a debug log to show the total time taken for all ListTimeSeries and AggregatedList requests. This is useful to understand if it takes more than the period defined in config.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Disruptive User Impact

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs


This is an automatic backport of pull request #40661 done by [Mergify](https://mergify.com).

…0661)

* log total time taken for ListTimeSeries requests

* add changelog entry

* fix PR id

* log total time taken for AggregatedList request

* update changelog entry

* remove log

* Update x-pack/metricbeat/module/gcp/metrics/compute/metadata.go

Co-authored-by: subham sarkar <[email protected]>

* Update x-pack/metricbeat/module/gcp/metrics/metrics_requester.go

Co-authored-by: subham sarkar <[email protected]>

* Update x-pack/metricbeat/module/gcp/metrics/compute/metadata.go

Co-authored-by: Harnish Chavda <[email protected]>

* Update x-pack/metricbeat/module/gcp/metrics/metrics_requester.go

Co-authored-by: Harnish Chavda <[email protected]>

---------

Co-authored-by: subham sarkar <[email protected]>
Co-authored-by: Harnish Chavda <[email protected]>
(cherry picked from commit 3f3e57d)
@mergify mergify bot added the backport label Sep 16, 2024
@mergify mergify bot requested review from a team as code owners September 16, 2024 17:22
@mergify mergify bot assigned gpop63 Sep 16, 2024
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 16, 2024
@botelastic
Copy link

botelastic bot commented Sep 16, 2024

This pull request doesn't have a Team:<team> label.

@gpop63 gpop63 merged commit 17ae697 into 8.15 Sep 17, 2024
20 checks passed
@gpop63 gpop63 deleted the mergify/bp/8.15/pr-40661 branch September 17, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants