이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.
Join the Preview!

Live Messages is in Preview for Java-Kafka services using Protobuf and Avro. If you're interested in other languages and technologies, reach out to support@datadoghq.com.

Live Messages enables you to view a live tail of messages that a specific service consumes or produces. Accessing the live messages and inspecting the contents can help uncover issues when troubleshooting on a specific service.

Data Streams Monitoring with an open side panel, showing a live tail of Live Messages.

Setup

  1. Enable Dynamic Instrumentation on the services you want to use this feature on.

    Dynamic Instrumentation requires Remote Configuration.
  2. In Datadog Settings, ensure that you have the following roles:

    • Dynamic Instrumentation Read
    • Dynamic Instrumentation Write

Usage

  1. Navigate to the Data Streams Monitoring map and click on a Java service that has dynamic instrumentation enabled. Select the Messages tab.
    Data Streams Monitoring with a service's side panel open. A play button is displayed.
  2. To turn on the Live Messages live tail, click on the play button. Then, specify the approximate number of messages to capture, and click on Start Capturing. Messages are generated in the form of logs and sampled at a rate of one message per second per host.
    Start Capturing Messages modal, with a field to configure how many messages are captured (at a rate of one message per second per host).
  3. Clicking into each message shows the fields and values.
    Live Messages with one message selected.

Turn off Live Messages live tail

Stop Capturing Messages modal.

The live tail automatically turns off after the approximate number of messages specified is captured. You can also manually turn it off by selecting the Stop Capturing button.

Additional details

Message storage and access

Messages are accessed by Datadog in the message consumers and producers. They are then stored in Datadog as logs, after going through the Sensitive Data Scanner.

Users must have the Dynamic Instrumentation Capture Variables and the Dynamic Instrumentation Read roles to use the Live Messages feature. All users in your organization are able to view the logs. For more information on Role Based Access Controls, see Dynamic Instrumentation.

Sensitive information redaction

Dynamic Instrumentation automatically redacts values linked to specific identifiers deemed sensitive, such as password and accessToken. See the full list of redacted identifiers.

You can further tailor redaction by specifying additional identifiers. In your application’s environment (not on datadog-agent), set the DD_DYNAMIC_INSTRUMENTATION_REDACTED_IDENTIFIERS environment variable to a comma-separated list of identifiers such as firstName,lastName,phoneNumber.

For additional information on sensitive data scrubbing, view the Dynamic Instrumentation documentation. If you have additional requirements or requests on handling sensitive data, contact Datadog support.

SSL encryption on Kafka

Datadog captures messages in the clients (consumer, producer) before they are encrypted. Thus, Datadog can capture messages regardless of whether encryption is turned on at the Kafka layer.