-
Notifications
You must be signed in to change notification settings - Fork 713
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
Telemetry test cases support 8.10 and later Kibana versions #7150
Conversation
buildkite test this -f p=kind,t=TestTelemetry |
buildkite test this -f p=gke,t=TestTelemetry,s=8.10.0-SNAPSHOT |
buildkite test this -f p=kind,t=TestTelemetry,s=8.10.0-SNAPSHOT |
buildkite test this -f p=kind,t=TestTelemetry,s=8.10.0-SNAPSHOT |
buildkite test this -f p=kind,t=TestTelemetry,s=8.10.0-SNAPSHOT |
@@ -27,15 +28,32 @@ func MakeTelemetryRequest(kbBuilder Builder, k *test.K8sClient) (StackStats, err | |||
if err != nil { | |||
return StackStats{}, err | |||
} | |||
|
|||
// a few extra headers a required by Kibana for this internal API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// a few extra headers a required by Kibana for this internal API | |
// a few extra headers are required by Kibana for this internal API |
This PR updates the Telemetry test suite.
Since 8.10, the telemetry API URLs have changed: elastic/kibana#159839
Old URL:
/api/telemetry/%s/clusters/_stats
New URL:
/internal/telemetry/clusters/_stats
There's a simple branching which this PR adds that will generate the appropriate URL based on the stack version. For the new API a few extra headers are also added to the HTTP request.