#general

Transitioning to Signoz from Apache Skywalker in Python Application

TLDR Akhil inquired about switching from Apache Skywalker to Signoz with current dependency conflicts. vishal-signoz and Srikanth provided solutions and Akhil successfully implemented the change, overcoming the initial dependency errors.

Powered by Struct AI

2

1

Aug 02, 2023 (4 months ago)
Akhil
Photo of md5-fb93eeb31fecd67d8c7b5a5e233c9213
Akhil
02:13 PM
Hello,

I am currently using Apache Skywalker for tracing in my Python application. Now, I am interested in trying Signoz, as it offers a better user interface. Unfortunately, I encountered issues with its agent, OpenTelemetry, which is failing to run due to dependency conflicts.

My question is whether it is feasible to send traces from my existing agent, sw-python, to the Signoz server instead?
Aug 03, 2023 (4 months ago)
vishal-signoz
Photo of md5-f936d3e5743d23344d6c60813189716f
vishal-signoz
05:05 AM
What dependency conflicts did you run into?
sw-python doesn’t support OTLP(opentelemetry format)
We would suggest using opentelemetry format as it is industry open standard and will give you vendor flexibility.
Akhil
Photo of md5-fb93eeb31fecd67d8c7b5a5e233c9213
Akhil
05:43 AM
these are the errors i got with opentelemetry

TypeError: execv: path should be string, bytes or os.PathLike, not NoneType
ImportError: cannot import name 'parse_env_headers' from '<http://opentelemetry.util.re|opentelemetry.util.re>' (/usr/local/lib/python3.7/site-packages/opentelemetry/util/re.py)
05:43
Akhil
05:43 AM
my python version is 3.7.7
06:08
Akhil
06:08 AM
I have a question.
Is it possible to use a separate virtualenv for opentelemetry and my app, and invoke it ?
Aug 04, 2023 (4 months ago)
vishal-signoz
Photo of md5-f936d3e5743d23344d6c60813189716f
vishal-signoz
01:28 AM
Srikanth Should be able to answer this
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
03:55 AM
I have no idea. Please google it.
01:36
Srikanth
01:36 PM
Akhil, we have published a new tag for signoz-otel-collector with Skywalking receiver; please use signoz/signoz-otel-collector:0.79.5 for the image, and you should be able to send data to SigNoz by enabling receiver in https://github.com/SigNoz/signoz/blob/develop/deploy/docker/clickhouse-setup/otel-collector-config.yaml.

2

Akhil
Photo of md5-fb93eeb31fecd67d8c7b5a5e233c9213
Akhil
02:27 PM
Thank you so much for your support Srikanth

I will conduct the testing and provide an update here if it is successful. Additionally, if you agree, I will submit a pull request with the modified files.
03:15
Akhil
03:15 PM
🙏💯 I conducted tests on the modifications and verified that it is functioning according to expectations.
03:16
Akhil
03:16 PM
Thank you vishal-signoz

1

SigNoz Community

Built with ClickHouse as datastore, SigNoz is an open-source APM to help you find issues in your deployed applications & solve them quickly | Knowledge Base powered by Struct.AI

Indexed 1023 threads (61% resolved)

Join Our Community