[APM] Update agent configuration snippets to include service environment variable #77739
Labels
apm:Agent Configuration
enhancement
New value added to drive a business result
low hanging fruit
DO NOT USE. Use `good first issue` instead
Team:APM
All issues that need APM UI Team support
v7.11.0
Summary
We want to include the service environment configuration in the default agent configuration snippets to make it clear that we're setting a default unless otherwise specified in an effort to do away with services with empty environment values. Environments are becoming a critical part of the product - we use it for anomaly detection and agent configuration, and we're seeing more and more issues with the environments added are not aligned or used, so data is mixed up when analyzing it using the APM app.
Solution
Update the getting started tutorial snippets for each agent to exemplify the environment variable and note that the agent is using a default value already, in case the user wishes to change it before data starts coming in.
Here's an example from the Python (Django) snippets revised;
Source:
kibana/src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts
Line 18 in 827ee5c
The text was updated successfully, but these errors were encountered: