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

[Fleet] Telemetry for Fleet Server #95424

Closed
4 tasks
mostlyjason opened this issue Mar 25, 2021 · 7 comments · Fixed by #101400
Closed
4 tasks

[Fleet] Telemetry for Fleet Server #95424

mostlyjason opened this issue Mar 25, 2021 · 7 comments · Fixed by #101400
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@mostlyjason
Copy link
Contributor

mostlyjason commented Mar 25, 2021

We'd like to track telemetry on Fleet Server so we can better understand if users are successful in setting it up, where they find difficulty with it, and what features they are using.

Our existing telemetry can already tell us:

  • Whether Fleet Server is running
  • How many agents are enrolled
  • Whether the Fleet Server integration is enabled (automatically enabled when a superuser visits Fleet)

We'd like to add stats on the following:

  • Total number of Elastic Agents with Fleet Server, including offline and inactive ones. This will help us identify if a cluster ever successfully got Fleet Server running, even if they are no longer using it or it is unenrolled.
  • Number of healthy Fleet Servers. This will tell us which clusters currently have a running Fleet server. It also help us determine how common HA and/or load balanced deployments are.

Stretch:

Schema:

"fleet" : {
  "fleet_server": {
    "total_all_statuses": 3,
    "healthy": 1,
    "num_host_urls": 1
  }
}

Related:

@mostlyjason mostlyjason added the Team:Fleet Team label for Observability Data Collection Fleet team label Mar 25, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@skh
Copy link
Contributor

skh commented Mar 30, 2021

In general, everything the kibana user can read can also be reported as telemetry. @nchaulet can you comment on the additional stats for fleet server?

@nchaulet
Copy link
Member

nchaulet commented Jun 4, 2021

Include the other statuses for Elastic Agent, but only counting ones with Fleet Server #86932 (comment)

@mostlyjason can you clarify what is missing here?

@mostlyjason
Copy link
Contributor Author

@nchaulet we don't have status data broken out for fleet servers today:

"fleet" : {
  "fleet_server": {
    "total_all_statuses": 3,
    "healthy": 1,
    "num_host_urls": 1
  }
}

@nchaulet
Copy link
Member

nchaulet commented Jun 8, 2021

@mostlyjason do we want to have the status broken out? to have something similar to the agents telemetry data?

@mostlyjason
Copy link
Contributor Author

@nchaulet this is closed, but don't we need to update the mappings int he telemetry cluster too?

@nchaulet
Copy link
Member

Thanks for catching this @mostlyjason just create the PR for the mappings in the telemetry cluster here https://github.com/elastic/telemetry/issues/538

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants