apple / apple/foundationdb

Including locality fields in trace events

Open
#3,642 2 comments 1 reaction 0 assignees View on GitHub
operations
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

We have the host name as a standard field in trace events, which can be useful when identifying issues that are occurring for multiple instances on the same host. On Kubernetes, the host name field is not very useful, because it is populated with the pod name. Could we consider an option to populate other fields from the locality information in trace events, as a way to give additional context when analyzing logs?

Contributor guide

Open the contributing guide

Research direction

Start by locating the trace-event handling and the locality information used by FoundationDB, then examine how the existing host name field is populated. Determine which locality fields should be exposed and how an option would affect trace analysis; the issue is done when the intended fields and configuration behavior are defined and covered by appropriate trace-event tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, kubernetes
Domain
distributed-systems, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.