ObserveAny, LLC Powered by Apache SkyWalking®
Sign In to the Dashboard
Easy setup and tracking with ObserveAny Cloud Try it on AWS

OpenTelemetry receiver

Posted by Mart Liu | Co-founder & CTO at ObserveAny on Aug 11, 2023

Without any configuration, your application can submit metrics and trace to ObserveAny using the OpenTelemetry instrumentation and SDKs.

Subscribing and Creating Subscription Instances from AWS

You can subscribe to ObserveAny by searching for it in the AWS Marketplace. After subscribing, you will be prompted to redirect to ObserveAny for login or registration. Upon successful login or registration, you will see the Dashboard and proceed with creating a subscription instance.

Setup

  1. Download opentelemetry-javaagent.jar form Release of the opentelemetry-java-instrumentation repository and place the JAR in your preferred directory.

  2. Add -javaagent:path/to/opentelemetry-javaagent.jar and other config to your JVM startup arguments and launch your app.

    java -javaagent:path/to/opentelemetry-javaagent.jar 
        -Dotel.service.name=your-service-name 
        -Dotel.exporter.otlp.headers=Authentication=<token> 
        -Dotel.exporter.otlp.traces.endpoint=<NAMESPACE>.metrics.observeany.com:4317 
        -jar myapp.jar
    # or
    export JAVA_TOOL_OPTIONS="-javaagent:path/to/opentelemetry-javaagent.jar"
    export OTEL_SERVICE_NAME="your-service-name"
    export OTEL_EXPORTER_OTLP_HEADERS="Authentication=<token>"
    export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="<NAMESPACE>.metrics.observeany.com:4317"
    java -jar myapp.jar
    
  3. Configure ObserveAny collector entpoint

    otel.exporter.otlp.traces.endpoint=<NAMESPACE>.metrics.observeany.com:4317
    otel.exporter.otlp.headers=Authentication=<token>