|
| 1 | +const SUGGESTED_QUESTIONS = [ |
| 2 | + 'What is the Datadog Agent?', |
| 3 | + 'How to define a Datadog monitor in Terraform (example)?', |
| 4 | + 'Which OpenTelemetry semantic conventions should I use for LLM traces in Datadog?', |
| 5 | + 'How do I install the Datadog Agent on a Linux host?', |
| 6 | + 'What are Datadog API and application keys, and how do I create them?', |
| 7 | + 'How do I tag my infrastructure in Datadog?', |
| 8 | + 'How do I set up APM tracing for a Python application?', |
| 9 | + 'What is the difference between a service, a resource, and a trace in Datadog APM?', |
| 10 | + 'How do I send logs from a Docker container to Datadog?', |
| 11 | + 'How do I create a log processing pipeline to parse custom logs?', |
| 12 | + 'How do I monitor Kubernetes clusters with Datadog?', |
| 13 | + 'How do I set up the AWS integration with Datadog?', |
| 14 | + 'How do I create a metric monitor with alert conditions in Datadog?', |
| 15 | + 'What monitor types are available in Datadog?', |
| 16 | + 'How do I build a custom dashboard with template variables?', |
| 17 | + 'How do I create a Synthetic API test to monitor an endpoint?', |
| 18 | + 'How do I set up Real User Monitoring (RUM) for a web application?', |
| 19 | + 'How do I monitor AWS Lambda functions with Datadog?', |
| 20 | + 'How do I enable Continuous Profiler for a Java service?', |
| 21 | + 'How do I trace LLM application calls with Datadog LLM Observability?', |
| 22 | + 'How do I create a Service Level Objective (SLO) in Datadog?', |
| 23 | + 'How do I send OpenTelemetry traces to Datadog?', |
| 24 | + 'How do I track AWS cloud costs in Datadog?' |
| 25 | +]; |
| 26 | + |
| 27 | +export function pickQuestions() { |
| 28 | + const indexes = new Set(); |
| 29 | + // Pick 3 random distinct indexes |
| 30 | + while (indexes.size < 3) indexes.add(Math.floor(Math.random() * SUGGESTED_QUESTIONS.length)); |
| 31 | + return [...indexes].map((index) => SUGGESTED_QUESTIONS[index]); |
| 32 | +} |
0 commit comments