pinpoint-apm / pinpoint-apm/pinpoint-cpp-agent

Support ServerMetaData in CreateAgent AgentInfo

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

Nobody has claimed this yet.

Dominant language
C++
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Summary

Add AgentInfo server metadata support through CreateAgent and send runtime config metadata in service_info.

Scope

  • Extend CreateAgent to accept ServerMetaData with optional args and libs.
  • Default server_info to "C/C++ Application" when ServerMetaData is not provided.
  • Send non-default runtime config entries through service_info instead of vmarg.
  • Keep config metadata included in service_info for all AgentInfo registrations.
  • Remove obsolete SetAppMetaData/setServerMetaData paths from AgentImpl and reload handling.

Validation

  • cmake --build --preset debug-cached
  • ctest --test-dir build/debug-cached --output-on-failure

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 CreateAgent and AgentInfo handling for ServerMetaData, then inspect AgentImpl and reload handling for the obsolete SetAppMetaData/setServerMetaData paths. Use the stated CMake build and ctest commands for validation; done means metadata and runtime configuration follow the service_info rules for all AgentInfo registrations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.