prometheus / prometheus/client_model

Remove proto, move to buf

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

Nobody has claimed this yet.

Dominant language
Makefile
Stars
80
Forks
76
Avg merge
1m
Merged PRs (30d)
1

Description

To avoid duplicated proto, let's use https://buf.build/prometheus/prometheus/docs/main%3Aio.prometheus.client with buf that removed gogo nullables and remove client_model proto file.

Eventually in client_golang v2 we can move generated Go code to client_golang module.

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 reviewing the client_model proto file and the Buf definition at buf.build/prometheus/prometheus/docs/main:io.prometheus.client. Trace how generated Go code is consumed, including the planned move to the client_golang module. Done means the duplicated proto is removed, Buf is the source, and generated Go code remains available through the intended module.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.