Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:49
    VuiDJi commented #3412
  • Dec 01 13:57
    jeff-lemos commented #3433
  • Dec 01 13:46
    jeff-lemos commented #3433
  • Dec 01 08:11
    tacigar synchronize #3486
  • Dec 01 08:11

    tacigar on enhance-lens

    Remove unused files (compare)

  • Dec 01 08:10
    tacigar synchronize #3486
  • Dec 01 08:10

    tacigar on enhance-lens

    Fix Update HeaderMenu (compare)

  • Dec 01 07:44
    tacigar synchronize #3486
  • Dec 01 07:44

    tacigar on enhance-lens

    change node version (compare)

  • Dec 01 07:24
    tacigar synchronize #3486
  • Dec 01 07:24

    tacigar on enhance-lens

    Update (compare)

  • Dec 01 05:58
    tacigar assigned #3486
  • Dec 01 05:58
    tacigar opened #3486
  • Dec 01 03:16

    tacigar on enhance-lens

    Update Fix (compare)

  • Nov 30 21:28

    tacigar on enhance-lens

    Update MiniTimeline (compare)

  • Nov 30 10:26

    tacigar on enhance-lens

    Update (compare)

  • Nov 30 08:10

    tacigar on enhance-lens

    AnnotationTooltip (compare)

  • Nov 30 07:48

    tacigar on enhance-lens

    Update (compare)

  • Nov 30 05:44

    tacigar on enhance-lens

    Update (compare)

  • Nov 30 05:22

    tacigar on enhance-lens

    Update (compare)

Elyor Latipov
@uzbekdev1
rorowehbi
@rorowehbi
Hello
how can we setup alerts when we detect slow response time in zipkin ?
all our microservices traces goes today to zipkin, so we are searching for a way to be alerted if a microservice responded slow
1 reply
ShirazBhaiji1
@ShirazBhaiji1
I am running Zipkin docker image, and have created a test client to post data to zipkin. When I run a query to search traces, I get no data back. But when I search by trace id I get a result. What could be the reason why "run query" does not return any results? I have also posted the question on stackoverflow https://stackoverflow.com/questions/73973367/trace-information-not-written-to-zipkin
2 replies
Rajesh Dannina
@rajeshdannina:matrix.org
[m]

Hi All!,

Can anyone help me on how to create a trace analytics using amazon opensearch and zipkin

Andriy Redko
@reta
Hi @rajeshdannina:matrix.org , the zipkin integration with OpenSearch is the same as with Elasticsearch, the only thing you may need to do is to enable compatibility mode, see please openzipkin/zipkin#3430
git lab
@lablabwowwow_gitlab
This message was deleted

I use this code

import { ZipkinExporter } from '@opentelemetry/exporter-zipkin';
import { registerInstrumentations } from '@opentelemetry/instrumentation';
import { ExpressInstrumentation } from '@opentelemetry/instrumentation-express';
import { GraphQLInstrumentation } from '@opentelemetry/instrumentation-graphql';
import { HttpInstrumentation } from '@opentelemetry/instrumentation-http';
import { NodeTracerProvider } from '@opentelemetry/node';
import { Resource } from '@opentelemetry/resources';
import { BatchSpanProcessor } from '@opentelemetry/tracing';

const register = () => {
  registerInstrumentations({
    instrumentations: [
      new HttpInstrumentation(),
      new ExpressInstrumentation(),
      new GraphQLInstrumentation({
        depth: 10,
        allowValues: true,
        mergeItems: true,
      }),
    ],
  });

  const provider = new NodeTracerProvider({
    resource: Resource.default().merge(
      new Resource({
        'service.name': 'survey-service',
      }),
    ),
  });

  const zipkinExporter = new ZipkinExporter();
  provider.addSpanProcessor(new BatchSpanProcessor(zipkinExporter));

  provider.register();
};

register();

Using packages:

"@opentelemetry/exporter-zipkin": "^1.2.0",
"@opentelemetry/instrumentation": "^0.22.0",
"@opentelemetry/instrumentation-express": "^0.22.0",
"@opentelemetry/instrumentation-graphql": "^0.22.0",
"@opentelemetry/instrumentation-http": "^0.22.0",
"@opentelemetry/node": "^0.24.0",
"@opentelemetry/resources": "^1.2.0",
"@opentelemetry/tracing": "^0.24.0",

After open http://localhost:9411/zipkin/ and run application with GraphQL operations, there wasn't any data in the dashboard.
It seems the telemetry didn't send to Zipkin. Where is the problem?

vndube
@vndube
does zipkin provides grpc based url to push the data?
nanxia990105
@nanxia990105
i clone zipkin`git. but i dont konw how to build it
or zipkin how to support rocketMQ
amit mokal
@acer618
Screen Shot 2022-10-25 at 2.41.39 PM.png
Seeing a lot of these messages when writing to the zipkin_collector endpoint
SUMIT HADMODE
@sumit_hadmode_twitter

Hi Guys,
I am deploying Zipkin docker compose on AWS ECS, I am getting error as

A load balancer cannot be attached to multiple subnets in the same Availability Zone (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: InvalidConfigurationRequest; Request ID: a18c170a-a44e-46e1-9c65-81e13adcd054; Proxy: null)

Anyone faced the same issue ?

ChambreNoire
@ChambreNoire
Hello!
Quick (hopefully) question : Is there any way to determine the db size occupied by traces in a specific date range ?
Ralph Comanne
@rcomanne
Hi, I am seeing some weird behavior from our Zipkin instance(s) where it is seemingly unable to find traces, even though they do exist. If the trace has been found via the service and span name, it can then also by found by it's traceId. The zipkin instance is also throwing some ResponseTimeoutExceptions, so we tried increasing the QUERY_TIMEOUT, but this has no effect. Any idea what could actually be going on here and how to fix this?
lipun mishra
@lipunmishra093_gitlab
hi Team, while am starting zipkin server am getting below errororg.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [zipkin2.server.internal.InternalZipkinConfiguration]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class zipkin2.server.internal.ui.ZipkinUiConfiguration
at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:610) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:311) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:600) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:311) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:319) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:236) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:280) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:96) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:707) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:533) ~[spring-context-5.2.11.RELEASE.jar:5.2.11.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143) ~[spring-boot-2.3.6.RELEASE.jar:2.3.6.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) [spring-boot-2.3.6.RELEASE.jar:2.3.6.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) [spring-boot-2.3.6.RELEASE.jar:2.3.6.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.3.6.RELEASE.jar:2.3.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.3.6.RELEASE.jar:2.3.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.6.RELEASE.jar:2.3.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.6.RELEASE.jar:2.3.6.RELEASE]
at com.example.demo.SpringBootMsZipkinserverApplication.main(SpringBootMsZipkinserverApplication.java:16) [classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.
can someone please suggest any solution for this
Jeferson Lemos
@jefersonlemos_twitter
Hey guys!!
Recently I've had an issue with my Zipkin. It uses Elastic Search as storage and its usage is growing. Yesterday the zipking pods started breaking due to low heap memory. I decided to increase it and since then I just can't do any search, it raises an "internal server error" message in the UI. In the logs, you can see
java.lang.RuntimeException: Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [localEndpoint.serviceName] in order to load field data by uninverting the inverted index
One weird thing: I had created a Kibana index pattern a few days ago but yesterday this index was broken and I had to create it again. Don't know if it correlates with the zipkin issue.
Thank you
Jeferson Lemos
@jefersonlemos_twitter
Do you guys know why when I delete and create again a zipkin K8S deployment it breaks the Elastic Search Index ?
I mean, I have to pass a new ES_INDEX: if I recreate the deployment.
LucianoMosca
@LucianoMosca
Hello! Im new to Zipkin and I was wondering if its possible to store traces into a mongoDB database
3 replies
Omar
@o2themar6_twitter
Hello. I'm trying to build a wrapper for the node-rdkafka library using zipkin. I cloned the project and started developing the wrapper but seem to be running into an issue. I created a copy of the existing zipkin-instrumentation-kafkajs project since its very similar to this. I tried to implement it following the tests that are already there and was able to get the first Producer test 'should record a producer span on produce' to pass with the producer implementation using node-rdkafka. Now for the second test 'should add B3 headers to the message on produce' it uses the rawConsumer (without the proxy) and I'm running into an issue. When I run the test and I use the raw consumer setup as I usually set it up the test gets stuck when it calls consume and no output is shown. The last thing that gets printing in the console is 'lerna info Executing command in 1 package: "yarn run test"'. It just stays stuck and I can't debug it unless I take out the consumer.consume() step in the code. Any ideas on what can be going on? consumer.consume() btw is asynchronous and has an event to handle the messages that come in. After running the producer with the container still running I run a consumer in another terminal and I'm able to consume the message. Its only the consumer running in the test that is getting stuck and can't consume the message. The consumer does connect. Any advice would be great. Also not sure if you guys want to take on the development for this? I can help out with whatever you need.
LucianoMosca
@LucianoMosca
@jefersonlemos_twitter thank you for your answer! Elasticsearch sounds great since we are already using it in our project! Notice that I'm still a trainee developer and this is all new technologies for me, so I would deeply appreciate any kind of help, advice or specific documentation about how to store these traces via elasticsearch
2 replies
evenmore, is it possible to automatically store traces in a txt file?
3 replies
that would be even better!
中村朱理
@akari-nakamura-tre

Hi!
I'm trying to zipkin-gcp to export traces to cloud trace.
I run the zipkin-gcp server and the node server instrumented zipkin-js both using cloud run.
When deploying zipking-gcp to cloud run, I set the followings as env variables and used a service account with appropriate permissions(cloudtrace.admin).

STACKDRIVER_PROJECT_ID=my-project-id
STORAGE_TYPE=stackdriver

But I coludn't see any tracing on cloud trace, only I got 202 status from zipkin-gcp server.
I also added -Dlogging.level.zipkin2=DEBUG as env variables, but nothing was displayed on the log of cloud run.

ps zipking-gcp server status seems fine when accessing /health endpoint.

{
  "status" : "UP",
  "zipkin" : {
    "status" : "UP",
    "details" : {
      "StackdriverStorage{my-project-id}" : {
        "status" : "UP"
      }
    }
  }
}

What should I do?
Could some tell me how to debug and export traces to cloud trace?
Thanks!

Hamza HABCHI
@hamza.habchi_gitlab
Hello, I'm finding some trouble to expose Zipkin UI (running in a container) behind Ngnix. Any idea on how to configure that? I've specified /tracing as location which is mapped to the port 9411 exposed and binded by the Zipkin container, however once the specified endpoint is set in the browser, it redirects me to / which is binded to another application running on another port.
Omar
@o2themar6_twitter

Hello. I'm trying to build a wrapper for the node-rdkafka library using zipkin. I cloned the project and started developing the wrapper but seem to be running into an issue. I created a copy of the existing zipkin-instrumentation-kafkajs project since its very similar to this. I tried to implement it following the tests that are already there and was able to get the first Producer test 'should record a producer span on produce' to pass with the producer implementation using node-rdkafka. Now for the second test 'should add B3 headers to the message on produce' it uses the rawConsumer (without the proxy) and I'm running into an issue. When I run the test and I use the raw consumer setup as I usually set it up the test gets stuck when it calls consume and no output is shown. The last thing that gets printing in the console is 'lerna info Executing command in 1 package: "yarn run test"'. It just stays stuck and I can't debug it unless I take out the consumer.consume() step in the code. Any ideas on what can be going on? consumer.consume() btw is asynchronous and has an event to handle the messages that come in. After running the producer with the container still running I run a consumer in another terminal and I'm able to consume the message. Its only the consumer running in the test that is getting stuck and can't consume the message. The consumer does connect. Any advice would be great. Also not sure if you guys want to take on the development for this? I can help out with whatever you need.

So I finished implementing the node-rdkakfa version and have the tests passing. I was wondering how the team wanted me to merge this in? I have it on my company's private repo but I can do a pull request if that is the proper way. I don't see any development documentation on the github page so not sure if we are allowed to develop our own wrappers or if the zipkin team is responsible for doing that?

Anuj Varma
@anujva
Any update on this openzipkin/zipkin#3428
Omar
@o2themar6_twitter
Still waiting on an update for the wrapper I wrote. In the meantime I had a question about including metadata in the zipkin tag. I have the instrumentation done with node-rdkafka wrapper which is similar to kafajs. I created the tracer instance with an ExplicitContext and a KafkaRecorder. I then provided the tracer to the instrumentation. Later on when I call the produce method using the instrumentation right before I use the tracer instance that was created earlier and call recordBinary which if I understand correctly creates a key value pair in the tag section. Then I call the produce method using the instrumentation wrapper. I check the messages going to my broker and I don't see the tag that I added. Is this the wrong way to modify the tracer to include tags? Should the instrumentation library have a way to modify the tracer? If not how else is it possible to add tags to the tracer for every request?
Omar
@o2themar6_twitter
After digging into this more I don't think there is a way as it is currently implemented to add headers to the tracers that are sent by the producers or consumed by the consumers in the current implementation. I would have thought this is by default because it makes sense that metadata should be propagated to the trace before calling the producer using the tag. But when you call on the tracer to recordBinary and then flush it creates a brand new tracer not tied to the other tracer that the producer was originally called.
Sebastian Zapata Lopez
@chalimbu
Hi i'm working on a spike to use zipkin was wondering if there is tutorial of how to use it with spring cloud dataflow, i have it working at the moment on a minikube cluster(dataflow+zipkin with sleuth) but is generating an infinite trace for multiple request, and not putting a name for the spans, and have not wait of separating the trace of different streams(basically follow the instruction here https://dataflow.spring.io/docs/feature-guides/streams/tracing/#visualize-distributed-tracing plus zipkin as configure here https://istio.io/latest/docs/ops/integrations/zipkin/#installation) if anyone has done this before or has any idea will be great, thanks!