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

[Metricbeat] kibana_stats.usage.telemetry.opt_in_status missing #14501

Closed
cachedout opened this issue Nov 13, 2019 · 3 comments
Closed

[Metricbeat] kibana_stats.usage.telemetry.opt_in_status missing #14501

cachedout opened this issue Nov 13, 2019 · 3 comments
Labels
needs_team Indicates that the issue/PR needs a Team:* label Stalled

Comments

@cachedout
Copy link
Contributor

Recently, parity tests have begun to show a failure related the opt_in_status key in the usage field for kibana_stats documents.

I believe this may have been introduced relatively recently, possibly in this PR: elastic/kibana#50015

I had thought that Metricbeat would just collect all usage keys but this suggests that perhaps that is not the case? The purpose of this issue is to investigate and potentially fix this discrepancy.

@ycombinator is this something you might have a moment to investigate?

@ycombinator
Copy link
Contributor

@cachedout I checked the code and the usage field is indeed just passed through by the kibana/stats metricset code:

// Make usage field passthrough as-is
usage, ok := data["usage"].(map[string]interface{})
if !ok {
return "", "", nil, elastic.MakeErrorForMissingField("usage", elastic.Kibana)
}
kibanaStatsFields.Put("usage", usage)

Have you been able to reproduce this failure locally? What is the output of the Kibana Stats API that's called by the metricset (GET /api/stats?extended=true&legacy=true) — does it contain the missing/new field?

@botelastic
Copy link

botelastic bot commented Oct 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added Stalled needs_team Indicates that the issue/PR needs a Team:* label labels Oct 13, 2020
@botelastic
Copy link

botelastic bot commented Oct 13, 2020

This issue doesn't have a Team:<team> label.

@botelastic botelastic bot closed this as completed Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label Stalled
Projects
None yet
Development

No branches or pull requests

2 participants