On this page

Show all

Using OpenTelemetry APIs with an Extension

Updated on 2023-06-25 GMT+08:00

Telemetry is a special extension, and can be enabled only after the following operations are performed in the extension process:

  1. Before using OpenTelemetry APIs, register them with your extension by referring to the extension API description.
  2. Start an HttpClient on the extension to send an OpenTelemetry API registration request to FunctionGraph.
  3. Create an HttpServer (telemetry listener) to receive telemetry data from FunctionGraph for custom processing.
    NOTE:

    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

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback