Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:56
    jcchavezs commented #40
  • Jul 22 09:59
    andrei-dascalu commented #40
  • Jul 19 20:55
    IF034Java commented #158
  • Jul 19 19:08
    IF034Java opened #159
  • Jul 19 18:37
    basvanbeek commented #158
  • Jul 19 18:32
    IF034Java commented #158
  • Jul 16 22:22
    jcchavezs commented #158
  • Jul 16 22:09
    IF034Java opened #158
  • Jul 08 17:49
    Travis openzipkin/zipkin-go (master) still failing (1088)
  • Jul 07 17:46
    Travis openzipkin/zipkin-go (master) failed (1087)
  • Jul 06 18:12

    jcchavezs on master

    [maven-release-plugin] prepare … (compare)

  • Jul 06 18:12

    jcchavezs on 2.3.0

    (compare)

  • Jul 06 18:12

    jcchavezs on master

    [maven-release-plugin] prepare … (compare)

  • Jul 06 18:11

    jcchavezs on release-2.3.0

    (compare)

  • Jul 06 18:11

    crispywalrus on release-2.3.0

    (compare)

  • Jul 06 17:45
    Travis openzipkin/zipkin-go (master) errored (1086)
  • Jul 06 07:08
    notxcain commented #99
  • Jul 05 18:22
    ilseucolling opened #3357
  • Jul 05 18:22
    ilseucolling labeled #3357
  • Jul 05 18:10
    jonatan-ivanov edited #3356
Juliette Lavoie
@Rietty
Or I guess a better question is... how can I load/add spring boot to my docker image so I can run Zipkin?
Juliette Lavoie
@Rietty
Fixed that issue and what not
ykhilaji
@ykhilaji
Hello , how I can plot an actor 'selection', I got an error when I write the following code:val jobManagerSupervisorPath: ActorPath = system.child(JobManagerSupervisor.Name)
val jobManagerSupervisorSelection: ActorSelection = system.actorSelection(jobManagerSupervisorPath)
TraceableActorRef(jobManagerSupervisorSelection) ! CreateImportJobActor(respense.jobId, userId, userParamsModel, token, isScrutation = false, autoPrintCmd ,TypeImport.ImportCommand,Step.StepImportCmd)
Juliette Lavoie
@Rietty
How do I connect to a secure aws server/for the storage/backend that does not use kinesis?
Trying to use the zipkin-module-storage-elasticsearch-aws-0.21.3-module but that github is gone... unsure if it's supported anymore or not
Hessel
@HesselvanApeldoorn
I've currently setup a container (openzipkin/zipkin-aws) with a secured AWS ES cluster as storage backend. Everything works as intended. Only the dependencies graph is empty currently. As far as I understood zipkin-dependencies should be used for this. There is a Docker Image (openzipkin/zipkin-dependencies/) available that supports ElasticSearch, but it does not seem to support connecting to a secure AWS ES cluster. Is this correct? Is there anything you can recommend to make the dependency graph in Zipkin work in this setup?
mahes
@maheskrishnan_twitter
Hello everyone

I am getting this error when opentelemetry is trying to export traces to Kafka using Kafka sender.

[BatchSpanProcessor_WorkerThread-1] WARN io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker - Exporter threw an Exception org.apache.kafka.common.config.ConfigException: Invalid value org.apache.kafka.common.serialization.ByteArraySerializer for configuration key.serializer: Class org.apache.kafka.common.serialization.ByteArraySerializer could not be found.

i am using -Dotel.exporter.jar=myexporter.jar option to use my own custom exporter . myexporter.java does contains the org.apache.kafka.common.serialization.StringSerializer. but when running th application getting this error

StackOverFlow Question: https://stackoverflow.com/questions/65946487/class-not-found-error-in-open-telemetry-exporter

Any help is highly appreciated. Thanks

1 reply
LeeYearJ
@LeeYearJ
hi all, I want consult one question , I have an RPC call that generates 2 Spans, How do I merge these two spans into one? Can it be configured via zipkin?
Arun Gopalpuri
@arun0009
@jcchavezs is there a way in zipkin-go to trace functions? Basically, want to trace some functions but in more generic way?
José Carlos Chávez
@jcchavezs
@Aneesh12369 i think it can be done explictly. What kind of functions you want to trace?
worldtiki
@worldtiki
chandu
@chandra85sekhar_twitter
Is there anyway to export data from zipkin?
1 reply
With in memory storage
chandu
@chandra85sekhar_twitter
Can we write the zipkin trace logs to file?
2 replies
chris6218
@chris6218
Is there a zipkin v2 version of brave and does it maintain Java 6 support?
2 replies
KarunakarVanama
@KarunakarVanama
Currently i am storing my zipkin trace details in MySQL db. When i try to do loadtest, no data is written to MySql db and zipkin ui does not show anything. Can someone guide me in this.
1 reply
jhonatan forero
@jforerorosas_twitter
Hi everyone!, what do you think about the new feature of AWS about container in Lambdas, check this out --> openzipkin/zipkin-aws#191
1 reply
Dimitrios Klimis
@dimi-nk
Hey everyone. I'm trying to mark a span as non-erroneous but I cannot find the way to do so. We're calling an API which returns 409 for valid cases. We don't throw any exception when the API returns 409. I'm not sure if there's some logic down the line that just converts HTTP 409s to errors. Any ideas?
1 reply
Stephen Hong
@stephenhong

Hello team, I'm trying to convert Tags field in Zipkin's SpanModel from map to string. zSpans is defined like this so I'm trying to call zSpans.Tags but my terminal says

zSpans.Tags undefined (type []*model.SpanModel has no field or method Tags)

which I am confused of because there is a Tags field in SpanModel. Is there a better way to refer to Zipkin's Tags field?

5 replies
Arun Gopalpuri
@arun0009
How can i make sure spans get sent to zipkin before lambda completes (using zipkin-go). Use Flush() even after Finish()?
8 replies
Koushik Arvapally
@KArvapelli_twitter
Hi everyone , Im trying to implement authorization using go-proxy for zipkin , I'm able to do authrozagtion with API-key to api/v2. while I'm trying to add the authorization to zipkin UI -. I'm failing to add those , can some one help/guide me how this can be done ?
5 replies
Dhrumil0
@Dhrumil0

Hey everyone, I want to use the kafka collector but my cluster is setup with SASL_SSL with GSSAPI sasl mechanism. The collector is having trouble connecting to the cluster. I also want to use kafka as storage so I will probably need to add similar configs for that as well. Can you please provide some help. I tried running the zipkin jar like this. I removed some of the sensitive information.

KAFKA_BOOTSTRAP_SERVERS=SASL_SSL://ip:port,SASL_SSL://ip:port java -Dzipkin.collector.kafka.overrides.sasl.mechanism=GSSAPI -Dzipkin.collector.kafka.overrides.security.protocol=SASL_SSL -Djava.security.auth.login.config=/path/jaas.conf -Djava.security.krb5.conf=/path/krb.conf -Djavax.security.auth.useSubjectCredsOnly=true -Dzipkin.collector.kafka.overrides.ssl.truststore.location=/path/truststore.jks -Dzipkin.collector.kafka.overrides.ssl.keystore.location=/path/keystore.jks -Dzipkin.collector.kafka.overrides.ssl.truststore.password=pass -Dzipkin.collector.kafka.overrides.ssl.keystore.password=pass -Dzipkin.collector.kafka.overrides.ssl.key.password=pass -Dzipkin.collector.kafka.overrides.sasl.kerberos.service.name=name -jar zipkin.jar --logging.level.zipkin2=DEBUG

The zipkin server starts with no errors but doesn't seem like the collector is connected to the cluster. Am I using the right properties?

I also tried using the docker zipkin image. These are the env I set when creating the container. It's pretty much the same as above.

KAFKA_BOOTSTRAP_SERVERS=SASL_SSL://ip:port,SASL_SSL://ip:port JAVA_OPTS=-Dzipkin.collector.kafka.overrides.sasl.mechanism=GSSAPI -Dzipkin.collector.kafka.overrides.security.protocol=SASL_SSL -Djava.security.auth.login.config=/path/jaas.conf -Djava.security.krb5.conf=/path/krb.conf -Djavax.security.auth.useSubjectCredsOnly=true -Dzipkin.collector.kafka.overrides.ssl.truststore.location=/path/truststore.jks -Dzipkin.collector.kafka.overrides.ssl.keystore.location=/path/keystore.jks -Dzipkin.collector.kafka.overrides.ssl.truststore.password=pass -Dzipkin.collector.kafka.overrides.ssl.keystore.password=pass -Dzipkin.collector.kafka.overrides.ssl.key.password=pass -Dzipkin.collector.kafka.overrides.sasl.kerberos.service.name=name

When the zipkin container starts up, I get this class not found error. Is the java inside the container missing that class? How can I add it?

org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
        at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:819) ~[kafka-clients-2.7.0.jar:?]
        at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:646) ~[kafka-clients-2.7.0.jar:?]
        at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:626) ~[kafka-clients-2.7.0.jar:?]
        at zipkin2.collector.kafka.KafkaCollectorWorker.run(KafkaCollectorWorker.java:69) ~[zipkin-collector-kafka-2.23.2.jar:?]
        at zipkin2.collector.kafka.KafkaCollector$LazyKafkaWorkers.lambda$guardFailures$0(KafkaCollector.java:265) ~[zipkin-collector-kafka-2.23.2.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException
        at org.apache.kafka.common.network.ChannelBuilders.create(ChannelBuilders.java:138) ~[kafka-clients-2.7.0.jar:?]
        at org.apache.kafka.common.network.ChannelBuilders.clientChannelBuilder(ChannelBuilders.java:73) ~[kafka-clients-2.7.0.jar:?]
        at org.apache.kafka.clients.ClientUtils.createChannelBuilder(ClientUtils.java:105) ~[kafka-clients-2.7.0.jar:?]
        at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:734) ~[kafka-clients-2.7.0.jar:?]
        ... 7 more
8 replies
jtrobec
@jtrobec
Hi Zipkin - I am working on a group project for a data visualization course via UC Berkeley. We've decided to see if we can create some new, useful visualizations of trace data, both at the single trace level, and at the aggregate level (i.e. visualizations for groups of traces). Have two questions for the community: 1) are there good public datasets that we could use as we develop the viz? some sets of zipkin traces in JSON or other accessible format? 2) is there an existing list of visualizations that have been proposed for zipkin, but nobody's gotten around to implementing them?
4 replies
Petr Hybler
@petr-hybler

Hello guys, my zipkin is working pretty much ok .. the only problem I have is the cassandra integration ... I installed cassandra, run it ... but I cannot force zipkin use it's storage

by simply running "root@machineName ~]# STORAGE_TYPE=casandra java -jar /opt/zipkin/zipkin.jar" it fails to start with


APPLICATION FAILED TO START


Description:

Parameter 0 of constructor in zipkin2.server.internal.ZipkinQueryApiV2 required a bean of type 'zipkin2.storage.StorageComponent' that could not be found.

Action:

Consider defining a bean of type 'zipkin2.storage.StorageComponent' in your configuration.

4 replies
any thoughts ?
Koushik Arvapally
@KArvapelli_twitter
@anuraaga HI I am trying to do authorization for WEB UI , for API's I'm able do the authorization api-key, samething I'm trying to do with UI , can you please help me with UI changes ? or any other way to Protect the API's ,

Tried with adding zipkin security jar but getting

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [zipkin.module.security.ZipkinSecurityModule]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class zipkin.module.security.ZipkinSecurityModule

Maziz
@MazizEsa
Hi all
I've encounter 404 error when sending span to new relic "https://trace-api.newrelic.com/trace/v1/api/v2/spans", 6 hours back. It was working before. Any ideas?
27 replies
The /api/v2/spans suffixes by zipkin RestTemplate . So that's why Im asking here.
arunlepuru
@arunlepuru
Hi all,
Can any one guide me please how to trace all the data like database called from controller to JPA repository in zipkin spring boot client application
Roussi Abdelghani
@roussi

Hi all,
I got Unable to establish connection to RabbitMQ server: Connection refused when trying to run zipkin-server with rabbitmq and elasticsearch, using this docker-compose file :

  version: '3.7'
  services:
    elasticsearch:
      image: elasticsearch:7.10.1
      container_name: elasticsearch
      restart: on-failure
      ports:
        - 9200:9200   
      environment: 
        #not recommended in production
         - "ES_JAVA_OPTS=-Xms750m -Xmx750m"   
         - discovery.type=single-node
    rabbitmq:
      image: rabbitmq:3.8-management-alpine
      container_name: rabbitmq
      restart: on-failure
      ports:
      - 5672:5672
      - 15672:15672
      environment:
        RABBITMQ_DEFAULT_VHOST: ${rabbitmq_vhost}
        RABBITMQ_DEFAULT_USER: ${rabbitmq_user}
        RABBITMQ_DEFAULT_PASS: ${rabbitmq_pass}
        RABBITMQ_VM_MEMORY_HIGH_WATERMARK: 1024MiB
    zipkin-server:
      image: openzipkin/zipkin:2
      container_name: zipkin-server
      depends_on: 
      - rabbitmq
      - elasticsearch
      restart: on-failure
      ports:
      - 9411:9411
      environment:
        RABBIT_CONCURRENCY: 1
        RABBIT_CONNECTION_TIMEOUT: 60000
        RABBIT_QUEUE: zipkin
        RABBIT_ADDRESSES: ${rabbitmq_host}
        RABBIT_PASSWORD: ${rabbitmq_pass}
        RABBIT_USER: ${rabbitmq_user}
        RABBIT_VIRTUAL_HOST: ${rabbitmq_vhost}
        RABBIT_USE_SSL: "false"
        STORAGE_TYPE: elasticsearch
        ES_HOSTS: ${elasticsearch_host}
      healthcheck:
        test: wget --no-verbose --tries=1 --spider http://localhost:9411/health  || exit 1
        interval: 10s
        start_period: 15s
        retries: 3
    zipkin-dependencies:
      image: openzipkin/zipkin-dependencies
      container_name: zipkin-dependencies
      depends_on: 
      - elasticsearch
      restart: on-failure
      environment:
        STORAGE_TYPE: elasticsearch
        ES_HOSTS: ${elasticsearch_host}
  volumes:
    default:
      external:
        name: zipkin-monitoring
  networks:
    default:
      external:
        name: zipkin-monitoring

knowing that rabbitmq and elastic starts normaly

2 replies
Stephen Hong
@stephenhong
Hello team, I need some clarification on remoteEndpoint. Zipkin's documentation says it's an RPC (or messaging) span, indicating the other side of the connection, but I'm not sure of what this means. There is an ipv4 field under remoteEndpoint. Can it be an IP address of an external user?
2 replies
bhogiudaykiran
@bhogiudaykiran
Hi Team, I am new here and to Zipkin as well. I am trying to start zipkin server by running Jar. can some one share the available arguments that i can pass to java -jar command? Also is there a shell script or anything handy that i can use. thanks!
4 replies
Archimedes Trajano
@trajano
Dawid Węgliński
@infarot
Hi team, is there any docs about adding custom headers as zipkin tags?
8 replies
SoftHaus IT
@ITSoftHaus
Hello, somebody help me to resolve this problem:
2021-02-25 12:51:30.776 WARN [/] 1 --- [orker-epoll-2-4] c.l.a.c.e.h.HttpHealthChecker : [creqId=485fac28, chanId=b5fb1c00, laddr=172.21.0.14:36804, raddr=elasticsearch/172.21.0.4:9200][http://elasticsearch:9200/_cluster/health#GET] Unexpected 4xx health check response: [:status=401, www-authenticate=Basic realm="security" charset="UTF-8", content-type=application/json; charset=UTF-8, content-length=411] A 4xx response generally indicates a misconfiguration of the client. Did you happen to forget to configure the HealthCheckedEndpointGroup's client options?
TKS
Arun Gopalpuri
@arun0009
How can I pass custom OKHttpClient (I want to be able to configure proxy, logging interceptor etc) to OkHttpSender? I submitted a PR as I couldn’t find a way to configure proxy on OKHttpSender openzipkin/zipkin-reporter-java#200
Petr Hybler
@petr-hybler

hello guys, another thing ... I was able to manage to run the zipkin and was able to store traces successfully in Cassandra.. but now it doesn't show any dependencies .. traces are all good, accurate and "realtime" but when I click on dependencies it's empty.. .I read I have to set the zipkin-dependencies.jar to be run periodically so I did (based on this article https://stackoverflow.com/questions/37459261/cant-view-any-dependencies-inside-zipkin-ui-dependencies-tab ) but hell - it doesn't show anything still.. I even tried to run that as a service .. but no luck either ...

my zipkin service:
[Unit]
Description=Managa Java service
Documentation=https://zipkin.io/

[Service]
WorkingDirectory=/opt/zipkin
Environment="STORAGE_TYPE=cassandra3"
ExecStart=/usr/bin/java -jar zipkin.jar
User=zipkin
Group=zipkin
Type=simple
Restart=on-failure
RestartSec=10

[Install]
WantedBy=multi-user.target

my zipkin-dependency.sh (crontab - every 5 mins)
STORAGE_TYPE=cassandra3 /usr/bin/java -jar /opt/zipkin/zipkin-dependencies.jar

crontab -l
*/5 * * * * cd /opt/zipkin && ./zipkin-dependencies.sh

any thoughts?

4 replies
Lukáš Vasek
@bilak
hello, please is there any support for azure's servicebus? I mean mainly this library. We are using two libraries in our spring boot services one is based on JMS and second one is based on mentioned library. While for JMS everything is provided by spring boot and brave/zipkin for servicebus library not. So I'd like to see what are the options and how difficult it would be to develop such library. Thannks
5 replies
Muchene
@Muchene
hi guys, would anyone here know why /api/v2/traces would return [] while /api/v2/trace/{trace_id} returns a valid trace?
1 reply
Archimedes Trajano
@trajano
Does Zipkin work Amazon keyspaces as the cassandra store?
Petr Hybler
@petr-hybler

hello guys, I have a question .... I have finally managed to make Zipkin + Cassandra work together... however, to properly display dependencies I need to periodically run zipkin-dependencies.jar (as mentioned above) ... I do this via cron in linux ... the problem is -> it takes a little over 1hr to calc the data...

Is there any way to limit the spans to automatically check for those nonprocessed only? or any other way I can tune cassandra / zipkin-dependencies.jar to make it work faster? Any tips?

I am not sure if I should focus on the cassandra tuning or the problem is somewhere else ... I tried to run twice manually the zipkin-dependencies and it says:
Running Dependencies job for 2021-03-01: 1614556800000000 =< Span.timestamp 1614643199999999 for both instances ... so it obivously recalc the same data ...

2 replies
deanlennox
@deanlennox

Hi,

I'm running zipkin in a container and sending a get (wrapFetch/node-fetch) trace to it (zipkin-transport-http):

const { Tracer } = require('zipkin');
const { BatchRecorder } = require('zipkin'); // format data spans
const { HttpLogger } = require('zipkin-transport-http');
const fetch = require('node-fetch');

const wrapFetch = require('zipkin-instrumentation-fetch');
const CLSContext = require('zipkin-context-cls'); // continous local storage
const ctxImpl = new CLSContext();

const localServiceName = 'xxx';

const recorder = new BatchRecorder({
logger: new HttpLogger({
endpoint: http://localhost:9411/api/v1/spans
})
});

const tracer = new Tracer({ ctxImpl, recorder, localServiceName });

const remoteServiceName = 'youtube';
const zipkinFetch = wrapFetch(fetch, { tracer, remoteServiceName });

zipkinFetch('https://www.youtube.com/').then(res => res)

How do I go about instrumenting and sending my own span?

Thanks,

3 replies
vadlamudi tejaswini
@vtejaswini_twitter
Is it the right practice for applications to wait for the Zipkin collector to be available? Can the application proceed further to serve its users and send no trace info as a collector is unavailable? Maybe the application can somehow automatically sense the collector and reload it-self. Am I thinking correct?
1 reply
Dhrumil0
@Dhrumil0
Hi everyone. My kafka cluster is using SASL_SSL GSSAPI. I have a kafka connect that is able to connect to authenticated cluster and produce and consume data from it. The issue is when I add the brave-kafka-interceptor and use the kafka collector, the connect is unable to produce data to cluster. The brave-kafka-interceptor is setup correctly because it works fine when using HTTP collector. I believe the interceptor also requires the SASL_SSL GSSAPI, truststore, keystore, jaas, krb configs when using with KAFKA collector. Does anyone know how I can set them? I already setup zipkin with the authentication configs and it seems to be connected to the cluster.
4 replies