elastic / elastic/apm-agent-nodejs

Allow config options to be set/changed after agent has started

Open
#877 2 comments 2 reactions 0 assignees View on GitHub
agent-nodejs enhancement
Dominant language
JavaScript
Stars
594
Forks
244
Avg merge
1d 8h
Merged PRs (30d)
16

Description

Most config options today could technically easily be updated after the agent has started but there's currently no public API to do so. And some might be impossible to change after start as their values are used during startup - e.g. `serverUrl`, as this is used when initializing the [elastic-apm-http-client](https://github.com/elastic/apm-nodejs-http-client), which is currently only done during start.

Making it possible to change these config options after start will - amongst other things - make it possible to use the Node.js agent to instrument Kibana (as the central Kibana config where you'd normally store the agent config is currently not loaded until after the agent has started).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.