-
Notifications
You must be signed in to change notification settings - Fork 243
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
Semantic conventions - RPC/gRPC #1859
Comments
Would you consider OpenAPI spec also as RPC metrics? This is because we're doing reverse mapping from Envoy Logs to OpenAPI metrics using the RPC semantics, with |
@alexvanboxel can you provide some more details on your question? Many people (including myself) do not know the details of the OpenAPI spec, so a few pointers to what you are trying to accomplish can help to provide an answer |
The OpenAPI specification defines a standard, language-agnostic interface to HTTP APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. (copied from doc) We load all our public and internal OpenAPI specs and build a reverse map from the URL path (discovered from the spec) toward the OperationId defined in the spec. This is then taken by an Apache Beam pipeline that creates metric (duration, bytes sent, and bytes received) histograms per 1 minute. This is then pushed into our metrics backend. This is a valuable source for operation-specific SLOs. Most enterprise software is built now with OpenAPI spec (or spec first => then generate the code, or code first => then generate the OpenAPI spec). The metrics are close too the RPC definition (if you consider an |
@alexvanboxel this is a question best asked via the sem conv, raise an issue there to have a proper discussion |
I will; I'm slowly working myself in and plan to start joining the SIG meetings. |
@jsuereth and @trask have volunteered to be the sponsors for this.
The text was updated successfully, but these errors were encountered: