You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my first post in this repo, if not anything else, just wanted to say thanks for the project.
It is very interesting, the concepts are easy to follow.
Wanted to reach out with a small issue/feature request please.
First, please have a look at the code, I am going to make my point with just three files:
code (not important)
package org.example;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@SpringBootApplication
@RestController
public class Main {
public static void main(String[] args) {
SpringApplication.run(Main.class, args);
}
private static final Logger logger = LoggerFactory.getLogger(Main.class);
@GetMapping("/test")
public String test() {
logger.info("<===== look on the left to see traces");
return "how to connect to lightstep with a springboot app + micrometer";
}
}
pom file (please note the dependencies to open telemetry)
When running this app, the traces are properly generated (you should see log like this:)
2023-02-02T13:54:13.097+08:00 " INFO [lightstep,beb7255bf90616747ae9bc2f66ae1a45,ede3ac9cd903d2aa]" 29364 --- [nio-8080-exec-1] org.example.Main : <===== look on the left to see traces
Our company is considering using lightstep in production.
However, our applications, thousands of microservices, are currently lightstep agnostic, the dependency does not have anything related to lightstep (and we would like to keep it that way) just to micrometer.
Our expectation is those kind of SpringBoot + micrometer app, which already generates traces, should easily be exported to lightstep via open telemetry. I signed up with a test account + got my app key, and I am expecting this to work and see my trace there.
Actual, unfortunately, we are not able to see our traces.
Could you please provide a simple springboot + micrometer open telemetry app, without dependency to lightstep, which will validate our poc prior to an official onbaroding to lightstep please?
Other online product offers this ability (just some configuration to confugure in SpringBoot application.properties, and traces + metrics are successfully published)
Thank you
The text was updated successfully, but these errors were encountered:
Hello team,
This is my first post in this repo, if not anything else, just wanted to say thanks for the project.
It is very interesting, the concepts are easy to follow.
Wanted to reach out with a small issue/feature request please.
First, please have a look at the code, I am going to make my point with just three files:
code (not important)
pom file (please note the dependencies to open telemetry)
configuration file (please note the configuration to lightstep)
When running this app, the traces are properly generated (you should see log like this:)
Our company is considering using lightstep in production.
However, our applications, thousands of microservices, are currently lightstep agnostic, the dependency does not have anything related to lightstep (and we would like to keep it that way) just to micrometer.
Our expectation is those kind of SpringBoot + micrometer app, which already generates traces, should easily be exported to lightstep via open telemetry. I signed up with a test account + got my app key, and I am expecting this to work and see my trace there.
Actual, unfortunately, we are not able to see our traces.
Could you please provide a simple springboot + micrometer open telemetry app, without dependency to lightstep, which will validate our poc prior to an official onbaroding to lightstep please?
https://docs.lightstep.com/changelog/java-springboot
Other online product offers this ability (just some configuration to confugure in SpringBoot application.properties, and traces + metrics are successfully published)
Thank you
The text was updated successfully, but these errors were encountered: