#support

Using Signoz with Spring Native Build for Logging and Metrics

TLDR Manikanta inquired about using Signoz with a Spring native build in production, particularly the benefits of manual configurations versus using "opentelemetry-javaagent.jar". The conversation needed further explanations and was left unresolved.

Powered by Struct AI
Jul 11, 2023 (5 months ago)
Manikanta
Photo of md5-457ad70d7608f85c57c9f88a35573a6f
Manikanta
08:16 PM
Hi Team,

I am using spring native build in production. and I would like to use Signoz, will I get all benefits of using manual instructions compared to "opentelemetry-javaagent.jar" .

please let me know.
i saw the below article but it does explain fully, the benefits of manual instructions

https://signoz.io/blog/opentelemetry-spring-boot/
Jul 12, 2023 (5 months ago)
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
05:37 AM
What manual instructions are you referring to?
Manikanta
Photo of md5-457ad70d7608f85c57c9f88a35573a6f
Manikanta
06:02 AM
I mean to say , once i convert my spring webflux project to native build, i can use "opentelemetry-javaagent.jar" jar method to get logs and metrics.

So i saw options to push logs, metrics from java side to signoz instance. i found the below link which says how to use manual method to push logs to signoz but it is not clearly explained..

https://signoz.io/blog/opentelemetry-spring-boot/
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
06:44 AM
I don’t get it; which part is “manual”? It’s about the auto instrumentation. Are you saying the configuration part is manual?
Manikanta
Photo of md5-457ad70d7608f85c57c9f88a35573a6f
Manikanta
10:36 AM
sorry for the confusion.

I am using Spring native images in Kubernetes.
if I want to use signoz logging, tracing and alerting I can't use "opentelemetry-javaagent.jar" method because i am not using JAR's.

I have to push logs and metrics to signoz collector using some manual configuration.

I am looking for the documentation but i didn't find the proper one.