Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stack Monitoring] Adjust APM server headings when we detect a container + agent env #97879

Closed
jasonrhodes opened this issue Apr 21, 2021 · 1 comment · Fixed by #95129
Closed
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Stack Monitoring Team:Monitoring Stack Monitoring team v7.13.0

Comments

@jasonrhodes
Copy link
Member

jasonrhodes commented Apr 21, 2021

Related to #90157

We need to detect when the APM server metrics we have are running in a container where Elastic Agent is also running, and inferring from that setup that the numbers we have represent all of Agent and its sub-processes rather than just APM Server.

In terms of how we'd like to do this, from best to worst:

  1. Determine if APM Server is being run by Elastic Agent inside of a container
  2. Determine if APM Server is at least running on Elastic Cloud, on version 7.13+
  3. Determine if the monitoring cluster is running on Elastic Cloud, and APM server is on version 7.13+

After looking into the feasibility of options (1) and (2), we settled for now to go with option (3). We're determining if the monitoring cluster is running on Elastic Cloud by way of checking plugins.cloud?.isCloudEnabled in our server setup method.

Note: We will log another ticket to investigate ways to improve this in 7.14, if possible.

AC:

  • Change relevant headings from "APM Server" to "APM & Fleet Server" when condition (3) listed above is detected
@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 21, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 21, 2021
@jasonrhodes jasonrhodes added bug Fixes for quality problems that affect the customer experience v7.13.0 labels Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Stack Monitoring Team:Monitoring Stack Monitoring team v7.13.0
Projects
None yet
3 participants