prometheus-community / prometheus-community/stackdriver_exporter
Truncated CloudSQL queries breaks metrics format
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 295
- Forks
- 117
- Avg merge
- 9d 14h
- Merged PRs (30d)
- 7
Description
I'm seeing some truncated queries on this metric causing collection failures. The issue appears to be with the querystring label being too long or truncated.
stackdriver_cloudsql_instance_database_cloudsql_googleapis_com_database_postgresql_insights_perquery_latencies_count
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report identifies failures while collecting the CloudSQL per-query latency metric when its querystring label is long or truncated. Start by reproducing collection of the named metric and tracing how CloudSQL query labels are formatted; done means collection succeeds for truncated queries and a regression test covers the affected metric format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, go, postgresql, prometheus
- Domain
- cloud, databases, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100