このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。
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.
Setup
Enable Dynamic Instrumentation on the services you want to use this feature on.
In Datadog Settings, ensure that you have the following roles:
Dynamic Instrumentation Read
Dynamic Instrumentation Write
Usage
- Navigate to the Data Streams Monitoring map and click on a Java service that has dynamic instrumentation enabled. Select the Messages tab.
- 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.
- Clicking into each message shows the fields and values.
Turn off Live Messages live tail
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.
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.