Hi there I am making use of spicedb 1 17
# spicedb
k
Hi there, I am making use of spicedb 1.17 and I am looking at pulling traces via otel collector, not able to figure out the command line params i need to pass to the server, any guidance on the same would be very helpful...thanks
v
k
thanks for the reference, I am running the application in k8s environment and i have set these params - SPICEDB_OTEL_PROVIDER to otlpgrpc, SPICEDB_OTEL_ENTPOINT & OTEL_EXPORTER_OTEL_ENDPOINT to localhost:55680 (the endpoint for otel collector) while the application starts up fine, i dont see the traces getting sent across the collector, is there any other flages i need to set...NOTE that i am using spicedb 1.17 ...any guidance on the environment variables to set will be very useful...
v
I'd suggest using the latest version of spiced, I recall some changes in OTEL flags in
cobrautil
, the libra we use. Also, please describe the environment spicedb and the otel collector are running - are they running in your local machine as containers?
also you can run the example docker-compose locally. It's a fully functional spicedb with tempo as collector and grafana to show the metrics
k
thanks for the response, I am running spicedb and the collector on aws eks environment..while i will upgrade to the latest version...is it possible to know the flags to be used with 1.17 please
v
they should be the same, theoretically
k
ok, for some reason the traces are not getting pushed to the otel-collector and i dont see any errors
so is suspect that its not picking the env variables i am passing to the application
v
I just used the docker-compose example with
v1.17.0
and it works, so it seems like something specific to your environment
k
ok, interesting, let me mimic the same configurations and get back on my findings..thanks for trying this out on 1.17.0
5 Views