Skip to content

innocentliny/spring-opentelemetry-server-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple OpenTelemetry demo

  • JVM env example for jaeger:
    -javaagent:D:/temp/opentelemetry-javaagent.jar
    -Dfile.encoding=UTF-8
    -Dotel.traces.exporter=jaeger
    -Dotel.service.name=service_1
    -Dserver.port=8081
    -Dotel.instrumentation.http.capture-headers.server.request=x-asc-token
    
  • JVM env example for prometheus:
    -javaagent:D:/temp/opentelemetry-javaagent.jar
    -Dfile.encoding=UTF-8
    -Dotel.metrics.exporter=prometheus
    -Dotel.exporter.prometheus.port=9494
    -Dotel.exporter.prometheus.host=0.0.0.0
    -Dotel.service.name=service_1
    -Dserver.port=8081
    -Dotel.instrumentation.http.capture-headers.server.request=x-asc-token
    
  • Use server-2 to simulate another service.

About

A simple demo of OpenTelemetry (server-1).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages