Using OpenTelemetry APIs with an Extension
Telemetry is a special extension, and can be enabled only after the following operations are performed in the extension process:
- Before using OpenTelemetry APIs, register them with your extension by referring to the extension API description.
- Start an HttpClient on the extension to send an OpenTelemetry API registration request to FunctionGraph.
- Create an HttpServer (telemetry listener) to receive telemetry data from FunctionGraph for custom processing.
Only one telemetry extension can be created. Similar to the extension API, the OpenTelemetry API must also be within 127.0.0.1:8081 and 127.0.0.1:8090.
Example telemetry extension: Telemetry.zip
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot