prometheus-community / prometheus-community/stackdriver_exporter

Select metrics from specific subsystems

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
295
Forks
117
Avg merge
9d 14h
Merged PRs (30d)
7

Description

Today, stackdriver_exporter allows specifying --monitoring.metrics-type-prefixes. And, some prefixes include multiple subsystems. For example, logging.googleapis.com/log_entry_count exports metrics for the following subsystems among others: gae_app, cloud_function, gce_instance, gke_container, k_8_s_cluster.

It would be a helpful feature to optionally allow selecting a subset of subsystems.

One way could be to specify metrics-type-prefixes with the subsystem. For example, logging.googleapis.com/log_entry_count@cloud_function. If the subsystem is unspecified then it implies "all subsystems".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the --monitoring.metrics-type-prefixes option is parsed and applied to Stackdriver metric selection. Define how an optional @subsystem suffix is handled, including the existing behavior when no subsystem is specified. Done means a prefix can select one subsystem while an unsuffixed prefix still selects all subsystems.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, google-cloud, prometheus
Domain
cloud, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.