引导式测验 · 中等 等级
使用 Prometheus 和 Grafana 进行 ML 监控测验
选择 Prometheus 指标类型和 Grafana 视图进行推理服务,同时避免基数和隐私问题。
问题 1 的 8
How does Prometheus commonly collect metrics from a model service?
预览每个问题8 问题
当您参加测验时,就会出现答案和解释。
- How does Prometheus commonly collect metrics from a model service?
- Scrape a metrics endpoint exposed by the service
- Read every user's prediction database directly
- Retrain the model at each interval
- Inspect dashboard screenshots
- Which metric type is suited to cumulative request counts?
- Gauge
- Counter
- Histogram bucket label only
- Dashboard annotation
- Why avoid a user ID as a Prometheus label?
- It prevents latency measurement
- It changes the model weights
- It can create an unbounded number of time series
- It makes the metric name invalid
- What can a latency histogram provide?
- A direct causal explanation
- 模型准确性的保证
- A raw prompt transcript
- Aggregatable bucket counts for latency distributions
- What should a Grafana dashboard show for an inference service?
- 仅模型训练准确率
- Service latency, errors, traffic and relevant model signals
- Every raw user prompt
- Only the most recent prediction
- Why separate service health alerts from model-quality monitoring?
- Quality never changes after deployment
- Prometheus cannot store model metrics
- A service can be available while predictions are poor, or vice versa
- Latency is the only useful metric
- Where should raw request IDs or sensitive prompt text generally be handled?
- Public dashboard titles
- Unbounded Prometheus labels
- Metric names
- Controlled logs or traces with access and retention policies
- What does a pending period in an alert rule help with?
- Avoiding alerts on brief transient metric spikes
- Reducing metric cardinality
- Improving model calibration
- Changing histogram buckets after collection