census-instrumentation / opencensus-service

OpenCensus service allows OpenCensus libraries to export to an exporter service rather than having to link vendor-specific exports.
Apache License 2.0
153 stars 63 forks source link

k8s manifest fails to stabalize #620

Closed r0fls closed 2 years ago

r0fls commented 5 years ago

Using the manifest here: https://github.com/census-instrumentation/opencensus-service#kubernetes

I modified the manifest to specify data.oc-collector-config and oc-agent-config here and here to have:

       zipkin:
         endpoint: "http://jaeger-collector.jaeger.svc.cluster.local/api/v2/spans"
     exporters:
       zipkin:
         endpoint: "http://jaeger-collector.jaeger.svc.cluster.local/api/v2/spans"

Otherwise the yaml is the default. The opencensus collector fails to stabilize. The agent pods to stabilize. The collector has the following error:

{"level":"fatal","ts":1566856998.4128158,"caller":"collector/processors.go:105","msg":"Unrecognized sender type","SenderType":"invalid",
"stacktrace":"github.com/census-instrumentation/opencensus-service/cmd/occollector/app/collector.buildQueuedSpanProcessor\n\t/var/lib/jenkins/workspace/src/github.com/census-instrumentation/opencensus-service/cmd/occollector/app/collector/processors.go:105\ngithub.com/cen
sus-instrumentation/opencensus-service/cmd/occollector/app/collector.startProcessor\n\t/var/lib/jenkins/workspace/src/github.com/census-
instrumentation/opencensus-service/cmd/occollector/app/collector/processors.go:266\ngithub.com/census-instrumentation/opencensus-service
/cmd/occollector/app/collector.(*Application).execute\n\t/var/lib/jenkins/workspace/src/github.com/census-instrumentation/opencensus-ser
vice/cmd/occollector/app/collector/collector.go:90\ngithub.com/census-instrumentation/opencensus-service/cmd/occollector/app/collector.(
*Application).Start.func1\n\t/var/lib/jenkins/workspace/src/github.com/census-instrumentation/opencensus-service/cmd/occollector/app/col
lector/collector.go:138\ngithub.com/spf13/cobra.(*Command).execute\n\t/var/lib/jenkins/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.
go:766\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/var/lib/jenkins/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:852\ngithub.c
om/spf13/cobra.(*Command).Execute\n\t/var/lib/jenkins/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:800\ngithub.com/census-instrum
entation/opencensus-service/cmd/occollector/app/collector.(*Application).Start\n\t/var/lib/jenkins/workspace/src/github.com/census-instr
umentation/opencensus-service/cmd/occollector/app/collector/collector.go:149\nmain.main\n\t/var/lib/jenkins/workspace/src/github.com/cen
sus-instrumentation/opencensus-service/cmd/occollector/main.go:29\nruntime.main\n\t/usr/lib/go-1.11.4/src/runtime/proc.go:201"}
dashpole commented 2 years ago

This repository is now archived, and is succeeded by https://github.com/open-telemetry/opentelemetry-collector.