-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[APM] Add documentation for APM APIs #129061
Comments
Pinging @elastic/apm-ui (Team:apm) |
+1 I want this too |
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
Add a YAML OpenAPI spec for some of the [APM APIs](https://www.elastic.co/guide/en/kibana/current/apm-api.html). This spec was artisanally crafted by @sorenlouv and previously published https://gist.github.com/sorenlouv/19fb1ffc0b7552fb41b193462d6ee9db. It has been copied here to fulfill some requirements for elastic/docs-projects#175. We will prioritize the existing issue #129061 to replace the contents with automatically-generated and complete specs.
The Kibana team has provided guidance and tooling for OpenAPI docs: https://groups.google.com/a/elastic.co/g/kibana-contributors/c/sQunk3FUzA0/m/B1Olq4RhAAAJ?utm_medium=email&utm_source=footer We might have to consider whether what's provided there will work best with the way we use io-ts, etc., but let's begin the discussion by looking at what they've started. |
Hey @smith -- this is something @maryam-saeidi has been looking into. She'll work with @miltonhultgren who is helping lead the "low level API guidelines" effort via https://docs.google.com/document/d/12AL5ItHs3L9qrWAvIewkvSFJjnly6kOOVhWOVPESSyY/edit |
FYI, related investigation: OpenAPI Specification (OAS) in Observability |
In order to provide users with the best and most accurate documentation, all APM app API endpoints must be documented with the OpenAPI specification.
Initial support was added in #180096, but these are manually generated and incomplete.
We should probably stay as close as possible to the implementation for the SLO APIs: https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/slo/docs/openapi/slo
Consult with @elastic/obs-ux-management-team to determine observability standards for generating, maintaining, and publishing OpenAPI specs.
✅ Acceptance criteria
The text was updated successfully, but these errors were encountered: