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] Add telemetry to output presets #172818

Closed
kpollich opened this issue Dec 7, 2023 · 1 comment · Fixed by #172838
Closed

[Fleet] Add telemetry to output presets #172818

kpollich opened this issue Dec 7, 2023 · 1 comment · Fixed by #172838
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@kpollich
Copy link
Member

kpollich commented Dec 7, 2023

Ref #166870

We need to track usage of output presets via Fleet's telemetry sender. A simple path forward here might be to add output preset stats to our scheduled telemetry tasks.

@kpollich kpollich added the Team:Fleet Team label for Observability Data Collection Fleet team label Dec 7, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kpollich kpollich self-assigned this Dec 7, 2023
kpollich added a commit that referenced this issue Dec 7, 2023
## Summary

Closes #172818

Adds a `preset_counts` property to the `agents_per_output_type` record
in the Fleet Usage telemetry, e.g.

```
[
  {
    output_type: 'elasticsearch',
    count_as_data: 5,
    count_as_monitoring: 5,
    preset_counts: { balanced: 2, custom: 1, latency: 0, scale: 0, throughput: 1 }
  },
  { output_type: 'logstash', count_as_data: 1, count_as_monitoring: 0 },
  { output_type: 'kafka', count_as_data: 0, count_as_monitoring: 1 },
  {
    output_type: 'remote_elasticsearch',
    count_as_data: 1,
    count_as_monitoring: 1,
    preset_counts: { balanced: 0, custom: 0, latency: 0, scale: 1, throughput: 0 }
  }
]
```
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.

2 participants