Aliyun LOG Jaeger Sender


License

License

GroupId

GroupId

com.aliyun.openservices
ArtifactId

ArtifactId

aliyun-log-jaeger-sender
Last Version

Last Version

0.0.9
Release Date

Release Date

Type

Type

jar
Description

Description

Aliyun LOG Jaeger Sender
Aliyun LOG Jaeger Sender
Project URL

Project URL

http://www.aliyun.com
Source Code Management

Source Code Management

https://github.com/aliyun/aliyun-log-jaeger-sender

Download aliyun-log-jaeger-sender

How to add to project

<!-- https://jarcasting.com/artifacts/com.aliyun.openservices/aliyun-log-jaeger-sender/ -->
<dependency>
    <groupId>com.aliyun.openservices</groupId>
    <artifactId>aliyun-log-jaeger-sender</artifactId>
    <version>0.0.9</version>
</dependency>
// https://jarcasting.com/artifacts/com.aliyun.openservices/aliyun-log-jaeger-sender/
implementation 'com.aliyun.openservices:aliyun-log-jaeger-sender:0.0.9'
// https://jarcasting.com/artifacts/com.aliyun.openservices/aliyun-log-jaeger-sender/
implementation ("com.aliyun.openservices:aliyun-log-jaeger-sender:0.0.9")
'com.aliyun.openservices:aliyun-log-jaeger-sender:jar:0.0.9'
<dependency org="com.aliyun.openservices" name="aliyun-log-jaeger-sender" rev="0.0.9">
  <artifact name="aliyun-log-jaeger-sender" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.aliyun.openservices', module='aliyun-log-jaeger-sender', version='0.0.9')
)
libraryDependencies += "com.aliyun.openservices" % "aliyun-log-jaeger-sender" % "0.0.9"
[com.aliyun.openservices/aliyun-log-jaeger-sender "0.0.9"]

Dependencies

compile (5)

Group / Artifact Type Version
com.google.protobuf : protobuf-java jar 2.5.0
com.aliyun.openservices : aliyun-log jar 0.6.16
com.aliyun.openservices : log-loghub-producer jar 0.1.11
com.alibaba : fastjson jar 1.2.47
com.uber.jaeger : jaeger-core jar 0.26.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Aliyun LOG Jaeger Sender

Introduction

These components make Jaeger compatible with Aliyun Log Service.

Usage

Adding the Dependencies in pom.xml

<dependency>
      <groupId>io.opentracing</groupId>
      <artifactId>opentracing-api</artifactId>
      <version>0.31.0</version>
</dependency>
<dependency>
      <groupId>com.aliyun.openservices</groupId>
      <artifactId>aliyun-log-jaeger-sender</artifactId>
      <version>0.0.9</version>
</dependency>
<dependency>
    <groupId>com.uber.jaeger</groupId>
    <artifactId>jaeger-core</artifactId>
    <version>0.26.0</version>
</dependency>

Build a Tracer

aliyunLogSender = new AliyunLogSender
      .Builder(projectName, logStore, endpoint, accessKeyId, accessKey)
      .withTopic(topic)
      .build();
RemoteReporter remoteReporter = new RemoteReporter.Builder().withSender(aliyunLogSender).build();
tracer = new Tracer.Builder(serviceName)
  .withReporter(remoteReporter)
  .withSampler(new ConstSampler(true))
  .build();

Reference

simple-opentracing-demo

spring-boot-opentracing-demo

com.aliyun.openservices

Alibaba Cloud

More Than Just Cloud

Versions

Version
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1