Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dapr-apim-integration sample: echo-service and event-subscriber need a tracing config and fail to start #89

Open
clarenceb opened this issue Dec 11, 2021 · 0 comments

Comments

@clarenceb
Copy link

clarenceb commented Dec 11, 2021

echo-service and event-subscriber have the annotation:

dapr.io/config: "tracing"

and fail to start as they can't find this config.

Fix:

  • Create a tracing config in file k8s/tracing.config.yaml:
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: tracing
  namespace: default
spec:
  tracing:
    samplingRate: "1"
    zipkin:
      endpointAddress: "http://zipkin.default.svc.cluster.local:9411/api/v2/spans"
kubectl apply -f k8s/tracing.config.yaml

Install Zipkin:

kubectl create deployment zipkin --image openzipkin/zipkin
kubectl expose deployment zipkin --type ClusterIP --port 9411

Redeploy echo-service and event-subscriber.

My environment:

  • Dapr 1.5.1
  • Kubernetes: v1.21.2
@clarenceb clarenceb changed the title dapr-apim-integration sample - echo-service and event-subscriber need a tracing config and fail to start dapr-apim-integration sample: echo-service and event-subscriber need a tracing config and fail to start Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant