ByteCode.News
Submit RSS Atom Podcast Sign in

Back to the channels

#java

  1. jreicher For pr070cal's learning it might be better not to use org.json. It does a bit of work for you.
  2. NeXeN now tickerData i put there is essentially your ticker that provides JSONObject so you already have the lib
  3. pr070cal i wrote an application to go through crytos with api
  4. pr070cal and check if they have risen like 20%
  5. pr070cal from when i opened the software
  6. pr070cal it also tracks the price it its lower
  7. pr070cal ive seen some huge rises over 1000%
  8. pr070cal but over the day the rise is the same as the drop and change = 0%
  9. deebo any suggestions for a local otel collector for recording and viewing spans for testing easily without setting up massive infra for it
  10. deebo mm grafana seems to have some solution for this. hopefully i have the ram to run it
  11. Para jaeger works fine
  12. Para Grafana isn't really a span viewer in the sense, although it's not entirely pointless either.
  13. Para I guess the big question is what is the actual deployment target as these systems are complex enough that it'll be annoying to try to maintain more than one architectural system for the same task.
  14. Para When running locally it can even be a good thing if the db resets after every restart etc. as long as it fits into your devbox' resources such as memory.
  15. deebo we have dynatrace, just want to verify configuration locally instead of going through long deployment cycles and debugging configs etc
  16. deebo dynatrace agent can merge opentelemetry traces into its own, but need to add some stuff between their own traces and ours so it nests properly
  17. Para Ah, yet another small multi-billion startup...
  18. Para Assuming otel you would just need to add span/trace id:s to get things working? And that's entirely clientside, isn't it?
  19. deebo aws' jdbc wrapper generates spans for every ResultSet#getWhatever, but dynatrace doesn't create parents for these, so have to add some custom stuff so they're nested and not shown as "rest api call -> 1000 ResultSet#get* spans"
  20. deebo spring boot added an opentelemetry starter in v4, so hopefully it gives proper nesting with automatic generation of spans for repositories etc
  21. Para So that would be @NewSpan, @ContinueSpan etc.
  22. Para https://docs.spring.io/spring-boot/reference/actuator/observability.html
  23. Para TBH I basically prompted Claude when I was figuring these things out until it managed to tell me that these things even exist :)
  24. Para The opentelemetry space is oddly dense and opaque.
  25. Para https://spring.io/blog/2025/11/18/opentelemetry-with-spring-boot
  26. Para On this topic, I should probably update my tracing config, it's gotten a bit old.
  27. NeXeN deebo: jaeger, otel collector, grafana alloy or lgtm in a docker container is convenient
  28. NeXeN https://katyella.com/blog/opentelemetry-spring-boot-observability/#:~:text=Path%201%3A%20Micrometer%20Tracing%20%2B%20OTLP%20export.,config.%20Path%202%3A%20The%20OpenTelemetry%20Java%20agent. <----nice little tutorial
  29. javabot NeXeN's title: "OpenTelemetry with Spring Boot: A Practical Observability Guide | Katyella"
  30. nevet OpenTelemetry with Spring Boot: A Practical Observability Guide | Katyella
  31. NeXeN deebo: jaeger, otel collector, grafana alloy or lgtm in a docker container is convenient
  32. NeXeN oops didn't mean to repeat
  33. Optic i would love to see spring publish opinionated grafana dashboard templates for Boot apps
  34. Para Maybe that's a business opportunity for you.
  35. Para Opinionated Spring Boot Solutions, sell them as licenceable templates.
  36. Optic at this point i just want to open a bakery
  37. cheeser book/coffee shop is my fantasy.
  38. Optic oo that sounds good too. or maybe i could just be that old man who sits in the park and feeds the pigeons. he seems pretty content
  39. Para In some alternate life I'd be a machinist or somesuch.
  40. Para There is irony in that mechanic work has also become partially nerd stuff as well with computers and all this.
  41. Optic it’s true
  42. Optic in technical java fun, canada is doing a massive timezone shuffle and flipping around DST behaviour in a bunch of provinces on a short timeline
  43. Optic and java has the weird situation where they half use the OS and half use their internal tzdata
  44. dreamreal i wish y'all were bakers and booksellers too
  45. dreamreal and barista sounds about right, cheeser... you can misspell peoples' names and then wax on about useless philosophy
  46. Optic i think i need to wait for the latest openjdk builds from eclipse and bellsoft and see how things look
  47. Optic eclipse has a “we’re building september now” banner on the temurin page
  48. dreamreal Optic: which jvm are you on?
  49. Optic bunch of old systems running bellsoft-21 32bit, everything else temurin-21+
  50. Optic so at least i’m in supported regime 😂
  51. Optic i haven’t had to deal with this since we went to George Bush DST 😂
  52. Para We just keep having the bi-annual "we should stop changing clocks but we can't be assed [because everyone agrees to it unanimously so there's no political points to win]" discussion.
  53. Para I've been thinking of starting a political trolling party to get issues like that pushed onwards.
  54. Para On purpose be against obvious things to provide the reason to actually do them.
  55. Tenchi hello java 27 good bye -XX:+EnableJVMCI
  56. cheeser (╯°□°)╯︵ ┻━┻ and good riddance
  57. Tenchi hah
  58. jreicher Para: I'm a bit surprised Microsoft never campaigned for it; seems easier for them than writing correct code.
  59. Chronos Never heard of -XX:+EnableJVMCI before, sounds like I'm fortunate, heh