Skip to content

Axway-API-Management-Plus/opentelemetry-apim-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenTelemetry Axway APIM Integration

Axway APIM Integration with OpenTelemetry using OpenTelemetry Java SDK

API Management Version Compatibility

This artefact tested with following version:

  • V7.7 May 2023

Compile/Build

In build.gradle file, update dependencies location:

  • Set the variable apim_folder to you API-Gateway installation folder (e.g. opt/Axway/APIM/apigateway)
gradlew clean jar

Setup

Copy following jar files

export OTEL_EXPORTER_OTLP_ENDPOINT=http:https://10.129.61.129:4317
export OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=grpc
export OTEL_TRACES_EXPORTER=otlp
export OTEL_SERVICE_NAME=apim-gw
export OTEL_METRICS_EXPORTER=none
  • Create a file named jvm.xml under APIGATEWAY_INSTALL_DIR/apigateway/conf/
    <ConfigurationFragment>
        <VMArg name="-javaagent:/home/axway/Axway-7.7.0/apigateway/ext/lib/aspectjweaver-1.9.6.jar"/>
    </ConfigurationFragment>
  • Restart API Gateway instances

Testing with Jaeger

  • Start Jaeger server
docker run --name jaeger   -e COLLECTOR_OTLP_ENABLED=true   -p 16686:16686   -p 4317:4317   -p 4318:4318   jaegertracing/all-in-one:1.49

Requests captured in OpenTelemetry

  • Policy exposed as Endpoint.
  • API manager Traffic
  • API Repository defined in Policystudio
  • API Manager UI traffic

Requests not captured in OpenTelemetry

  • API Manager REST API call.
  • Servlet defined in Policystudio.

Contributing

Please read Contributing.md for details on our code of conduct, and the process for submitting pull requests to us.

Team

alt text Axway Team

License

Apache License 2.0

About

OpenTelemetry Axway APIM Integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages