dapr / dapr/samples

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

Open
#89 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
443
Forks
180
PR merge metrics
No merged PRs in 30d

Description

echo-service and event-subscriber have the annotation:

```yaml
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`:

```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"
```

```sh
kubectl apply -f k8s/tracing.config.yaml
```

Install Zipkin:

```sh
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.