tracer := zipkinotp.Wrap(nativeTracer)
from "github.com/openzipkin-contrib/zipkin-go-opentracing" but tutorial is not exhaustive on how to continue
\health
endpoint all I see is "StackdriverStorage{<<GCP-PROJECT>>}" : {
"status" : "DOWN",
"details" : {
"error" : "com.linecorp.armeria.common.grpc.protocol.ArmeriaStatusException: The caller does not have permission"
}
}
Hi all,
here is my zipkin config for elasticsearch use for kubernetes environment.
env:
- name: STORAGE_TYPE
value: elasticsearch
- name: ES_HOSTS
value: http://<host>:9200
- name: ES_INDEX
value: zipkin.uat
when i use storage type as in memory ot worked and can see traces and dependency tree. with above config im unable to see traces or dependency tree and gives following error
java.lang.RuntimeException:
at zipkin2.elasticsearch.internal.client.HttpCall.lambda$parseResponse$4(HttpCall.java:265) ~[zipkin-storage-elasticsearch-2.23.16.jar:?]
at zipkin2.elasticsearch.internal.client.HttpCall.parseResponse(HttpCall.java:275) ~[zipkin-storage-elasticsearch-2.23.16.jar:?]
at zipkin2.elasticsearch.internal.client.HttpCall.doExecute(HttpCall.java:166) ~[zipkin-storage-elasticsearch-2.23.16.jar:?]
at zipkin2.Call$Base.execute(Call.java:391) ~[zipkin-2.23.16.jar:?]
any idea what i'm missing ?
spring:
application:
name: springboot-wy
zipkin.base-url: http://localhost:9411/
sleuth.sampler.probability: 1.0
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zipkin</artifactId>
<version>2.0.0.RELEASE</version>
</dependency>
2022-03-16 19:08:16.155 INFO [springboot-wy,fa581971f82f11e4,fa581971f82f11e4,true] 15876 --- [io-8089-exec-10] c.e.d.controller.JerseyHelloController : hello==============
2022-03-16 19:08:16.396 INFO [springboot-wy,33cca1964589dcf4,33cca1964589dcf4,true] 15876 --- [nio-8089-exec-8] c.e.d.controller.JerseyHelloController : hello==============
hi every one , when run docker-compose for mysql I got the issue
mysql | Starting MySQL
mysql | /usr/bin/mysqld_safe: line 1: my_print_defaults: not found
mysql | /usr/bin/mysqld_safe: line 1: my_print_defaults: not found
mysql | 220323 10:01:49 mysqld_safe Logging to '/mysql/data/11496caa278f.err'.
do you guys have experience with this error
my docker compose config:
version: '2'
services:
storage:
image: openzipkin/zipkin-mysql
container_name: mysql
# Uncomment to expose the storage port for testing
volumes:
- ./database:/mysql/data
ports:
- 3306:3306
Hi everyone,
I am trying to understand how to send spans with Zipkin in JSX to do some tracing. Below is what I am trying to achieve, it's just pseudocode but I can't really find documentation on how to do it.
What I am trying to achieve are:
//Pseudocode
let tracer = new Tracer(...params)
let span = new Span(...)
span.start('page load start')
document.addEventListener('DOMContentLoaded', (event) => {
span.end('page load end')
span.send()
});
# Uncomment to see dependency processing logs
# - ZIPKIN_LOG_LEVEL=DEBUG
# Uncomment to adjust memory used by the dependencies job
# - JAVA_OPTS=-verbose:gc -Xms1G -Xmx1G
- STORAGE_TYPE=elasticsearch
- ES_HOSTS=elasticsearch:9200
depends_on:
- storage
Hello, i'm trying to configure zipkin with Nodejs
i'm using appmetrics_zipking https://www.npmjs.com/package/appmetrics-zipkin
every thing is working fine locally,
when i try to connect to remote server which have zipkin installed on it the problem occurs
"Error sending Zipkin data FetchError: request to http://https://zipkin.sandbox.garment.link/:9411/api/v1/spans failed, reason: getaddrinfo EAI_AGAIN https"
here is my code
const appzip = require('appmetrics-zipkin')({
host: 'https://myremotehost/',
serviceName: 'monolith',
sampleRate: 1
});
Code Description
200
OK
Example Value
Model
[
[
{
"id": "352bff9a74ca9ad2",
"traceId": "5af7183fb1d4cf5f",
"parentId": "6b221d5bc9e6496c",
"name": "get /api",
"timestamp": 1556604172355737,
"duration": 1431,
"kind": "SERVER",
"localEndpoint": {
"serviceName": "backend",
"ipv4": "192.168.99.1",
"port": 3306
},
"remoteEndpoint": {
"ipv4": "172.19.0.2",
"port": 58648
},
"tags": {
"http.method": "GET",
"http.path": "/api"
}
}
]
]
Good day to you,
I'm running zipkin for the first time. I have only windows and cannot use docker in my situation. I figured the following script should work for me
set STORAGE_TYPE=elasticsearch
set ES_HOSTS=http://1.2.3.4:5678
java -jar .\zipkin-server-2.23.16-exec.jar
pause
you can see in the picture the result ...
the recommended action:
Consider defining a bean of type 'zipkin2.storage.StorageComponent' in your configuration.
It would be very wonderful if you could give me an advice what I have to do now... I have no idea
many thanks!