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

[googlecloudmonitoring] config collection interval & more flexible metric filtering #36898

Open
chenlujjj opened this issue Dec 19, 2024 · 5 comments
Assignees

Comments

@chenlujjj
Copy link
Contributor

Component(s)

receiver/googlecloudmonitoring

Is your feature request related to a problem? Please describe.

  1. The default collection interval is 5 mins, which is too large for monitoring
  2. The current metric filtering is not flexible enough, if we want to collect a bunch of metrics, the list would be too long

Describe the solution you'd like

  1. decrease the default collection interval
  2. enrich the metric filtering capabilities, such as include/exclude, regex, etc

Describe alternatives you've considered

No response

Additional context

No response

@chenlujjj chenlujjj added enhancement New feature or request needs triage New item requiring triage labels Dec 19, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@dashpole
Copy link
Contributor

A 5 minute interval was requested by the cloud monitoring team, so I don't think we should lower the default. Lower intervals can cause query performance problems.

Better filtering makes sense. We should try and be consistent with other filtering-related configuration in collector components if we can, rather than invent something new here.

@dashpole dashpole self-assigned this Dec 19, 2024
@dashpole dashpole removed the needs triage New item requiring triage label Dec 19, 2024
@chenlujjj
Copy link
Contributor Author

chenlujjj commented Dec 20, 2024

Hi @dashpole

A 5 minute interval was requested by the cloud monitoring team,

could you tell me where I can find the request? 5 minute interval means that the alert can delay at most 5 minutes, and I'm worried about that.

@dashpole
Copy link
Contributor

I'm a Googler, so I reached out to them internally. @kjordy are there any details you can share here as to why a 5 minute interval is recommended for scraping ListTimeSeries?

@chenlujjj
Copy link
Contributor Author

Is it possible to use a smaller interval restriction, like 1 minute?

I also checked the documentation of Splunk SignalFx connection to GCP, the minimum poll rate can be 1 minute.

image

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

No branches or pull requests

2 participants