Module idetraceprovider

ballerinax/idetraceprovider Ballerina library

0.10.0

Overview

The IdeTraceProvider Observability Extension is a lightweight tracing extension that provides a simple HTTP-based implementation for tracing and publishing traces to an OTLP/HTTP compatible trace collector, optimized for IDE and development environments.

Key Features

  • Publish traces to OTLP/HTTP compatible trace collectors
  • Lightweight implementation optimized for IDE and development workflows
  • Configurable endpoint for trace publishing
  • Seamless integration with observability tooling

Enabling IdeTraceProvider Extension

To package the IdeTraceProvider extension into the Jar, follow these steps:

  1. Add the following import to your program:
Copy
import ballerinax/idetraceprovider as _;
  1. Add the following to the Ballerina.toml when building your program:
Copy
[package]
org = "my_org"
name = "my_package"
version = "1.0.0"

[build-options]
observabilityIncluded=true
  1. To enable the extension and publish traces, add the following to the Config.toml when running your program:
Copy
[ballerina.observe]
tracingEnabled=true
tracingProvider="idetraceprovider"

[ballerinax.idetraceprovider]
endpoint="http://localhost:59500/v1/traces"  # Optional. Default value is "http://localhost:59500/v1/traces"

Import

import ballerinax/idetraceprovider;Copy

Other versions

0.10.0

0.9.0

Metadata

Released date: about 16 hours ago

Version: 0.10.0

License: Apache-2.0


Compatibility

Platform: java25

Ballerina version: 2201.14.0

GraalVM compatible: Yes


Pull count

Total: 925

Current verison: 1


Weekly downloads


Source repository


Keywords

Type/Driver

Area/Developer Tools

Observability

Cost/Freemium

Vendor/N/A


Contributors