获取非日志文本数据 Tags 信息¶
GET /api/v1/metric_info/text_data/tags
概述¶
根据 namespace 和 tag 名获取非日志文本数据的 tag 值列表,最多返回 10 个值
Query 请求参数¶
| 参数名 | 类型 | 必选 | 说明 |
|---|---|---|---|
| namespace | string | Y | 命名空间,用于区分 LLM、链路、RUM 等非日志文本数据类型 允许为空: False |
| tag | string | Y | tag 名称 允许为空: False |
| limit | integer | 限制返回 tag 值数量,默认10,最大不超过10 允许为空: True $default: 10 |
参数补充说明¶
通过 X::RE(\.*`):(field_values(`tag`)) LIMIT 500形式获取非日志文本数据的 tag 值列表,其中X由namespace` 映射得到。
支持的 namespace 如下:
| namespace | 中文说明 |
|---|---|
object |
对象数据 |
object_history |
对象历史 |
custom_object |
自定义对象 |
custom_object_history |
自定义对象历史 |
keyevent |
事件 |
audit_event |
审计事件 |
unrecovered_event |
未恢复事件 |
tracing |
链路 |
rum |
用户访问监测 |
security |
安全 |
network |
网络 |
backup_log |
备份日志 |
profiling |
性能剖析 |
rum_metric |
RUM 指标 |
network_metric |
网络指标 |
tracing_metric |
链路指标 |
billing |
计费 |
dialtest |
拨测 |
execution_log |
执行日志 |
llm |
大语言模型 |
errorhub |
错误追踪 |
请求例子¶
curl -k 'https://openapi.guance.com/api/v1/metric_info/text_data/tags?namespace=llm&tag=vendor&limit=10' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed