ballerinax/moesif Ballerina library

1.0.0

Package Overview

The Moesif Observability Extension is one of the tracing extensions of the Ballerina language.

It provides an implementation for tracing and publishing traces to a Moesif application.

Enabling Moesif Extension

To package the Moesif extension into the Jar, follow the below steps.

  1. Add the following import to your program.
Copy
import ballerinax/moesif 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 to Moesif, add the following to the Config.toml when running your program.
Copy
[ballerina.observe]
tracingEnabled=true
tracingProvider="moesif"

[ballerinax.moesif]
applicationId = "xxxxx"     # Mandatory configuration. Get the application ID via the Moesif portal
reporterBaseUrl = "xxxxx"   # Optional Configuration. Default value is https://api.moesif.net

Follow the below steps to get the applicationId.

  • Log into Moesif Portal.
  • Select the account icon to bring up the settings menu.
  • Select Installation or API Keys.
  • Copy your Moesif Application ID from the Collector Application ID field.

Import

import ballerinax/moesif;Copy

Other versions

1.0.0

Metadata

Released date: 16 days ago

Version: 1.0.0


Compatibility

Platform: java21

Ballerina version: 2201.12.0

GraalVM compatible: Yes


Pull count

Total: 0

Current verison: 0


Weekly downloads