Urgent.News

What's breaking now, across hundreds of outlets.

Tech

OpenTelemetry Java agent for Dynatrace: instrument an application and send its data

Your team wants standard, portable instrumentation for a Spring Boot application without changing its code. It has no OneAgent on these containers, or it has chosen OpenTelemetry as the platform standard. The OpenTelemetry Java agent for Dynatrace meets that need: one JAR file added at JVM startup, and traces, metrics and logs flow over OTLP to Dynatrace. Goal of this tutorial: download the…

The OpenTelemetry Java agent for Dynatrace allows instrumenting a Spring Boot application without modifying its code. It requires Java 8 or later and a Dynatrace API token with specific scopes. The OTLP endpoint URL varies depending on the Dynatrace setup (SaaS, Managed, or ActiveGate). To set up the agent, first download it and configure it with environment variables pointing to the Dynatrace endpoint and token.

Then start the JVM with the agent using the -javaagent option. In Kubernetes, copy the agent into a shared volume and load it with JAVA_TOOL_OPTIONS. After setup, verify the agent by checking start-up logs and exporting errors. For debugging, enable OTEL_JAVAAGENT_DEBUG=true. In Dynatrace SaaS, use a Notebook to fetch spans and confirm that the application's HTTP routes are visible.

On Managed, the service appears in the services list, and traces are visible in the distributed traces view, while metrics can be seen in the data explorer.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

My attempt at SEO for rayr.uk

I own rayr.uk and I want it to show up when people search "rayr uk" or "ray r uk". Right now it doesn't really. The site is one page with a neon animation and an email button, which looks fine but…

  • Added title, description, canonical link, and Open Graph tags to HTML
  • Implemented structured data linking "rayr.uk", "Ray R UK", and "RayR"
  • Created accounts on social media platforms with consistent usernames

偽冒黃果、紅果等中國看片網站 App藏木馬 境外遙控手機 受害百件遭盜千萬

〔記者邱俊福/台北報導〕一個不法集團偽冒黃果、紅果、抖陰等中國看片網站,將Android木馬惡意程式藏在短劇App安裝檔,以免費觀看引誘民眾下載後,即可從境外IP遠端遙控手機,操作網路銀行將存款轉入人頭帳戶提領、或電子支付購買遊戲點數,如同奪舍其手機,警方正擴大偵辦中。 刑事局統計,近兩個多月…

How Many Draws Does It Take to See All 49 Numbers?

Imagine a lottery that draws seven different numbers, from 1 to 49, in every draw. How long would you have to watch before you had seen every one of the 49 numbers at least once?

  • Coupon collector problem estimates 31.4 draws to see all 49 numbers
  • Macau lottery archive shows 310 appearances of each number
  • Real-world timeframe of complete collection unknown

I built 67 file tools that never upload your files. Here's how the browser does it all

Disclosure: I'm the founder of Capy Files . This post is about how it works, including the parts that were hard. Most "free online PDF tools" work the same way: you upload your file to their server…

  • Founder of Capy Files builds 67 file tools to edit PDFs without uploading files
  • Processing occurs in Web Workers using WebAssembly, browser APIs, and various codecs/models

More from Thursday 26 November →