apple / apple/foundationdb

Push stats and metrics to daemon service

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

Description

Metrics in current FDB are pulled by metrics consumer.

If each FDB process can push stats, metrics and incidents to some HTTPS or gRPC endpoint, standard metrics tools can consume them easier.

This can help operation tools (say instance lifecycle management tools) to automatically increase/decrease the resource for a component based on the metrics it receives.
For example, when a storage server's memory utilization is high, the server pushes an incident to the operation tool. The tool can start an instance with larger memory and move the storage server there.

[This idea was proposed and discussed in FDB Offset 2019.]

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the current metrics consumer and how FDB processes expose stats, then review the Offset 2019 discussion for requirements. Done would require an agreed HTTPS or gRPC reporting design and its implementation, including stats, metrics, and incidents.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems, observability
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.