linkerd / linkerd/linkerd2

Change the `direction` metrics label to `proxy`

Open
#1,486 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/proxy area/telemetry pinned
Dominant language
Go
Stars
11.5k
Forks
1.4k
Avg merge
3d 22h
Merged PRs (30d)
53

Description

The word _direction_ is only ever used in metrics formatting. Everywhere else in the code, we refer to this concept as a _proxy_ (either inbound or outbound). We should update the metrics export to export to be a bit clearer and more terse: `proxy="in|out"`

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 locating the metrics formatting or export code that emits the direction label, then trace any tests covering those metrics. Verify that the exported label is proxy and that its values remain in|out; done means metrics no longer expose direction.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.