Skip to content

[GCP] Improve metadata collectors caching #43959

Open
@gpop63

Description

@gpop63

NewMetadataService is executed based on the period set in the config e.g. 1m, so the in memory maps we're using for caching aren't actually helping, we're still fetching fresh data every time.

We need proper caching for all metadata collectors:

  • compute
  • cloudsql
  • redis
  • dataproc (once it's merged)

It could be made configurable to be refreshed every hour/12h/day etc.

Metadata

Metadata

Assignees

Labels

Team:Obs-InfraObsLabel for the Observability Infrastructure Monitoring teamenhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions