目前 File 插件只有构建元数据耗时日志输出,暂无其他日志输出。
用于暴露监控指标
| 名称 | 说明 |
|---|---|
| host | 主机 |
| port | 端口 |
| jvm-information-collector-enabled | 是否采集 JVM 指标信息 |
OpenTelemetry 可以将 tracing 数据导出到任意 OTLP 接收端,例如 Jaeger、Zipkin。
| 名称 | 说明 |
|---|---|
| otel.service.name | 服务名称 |
| otel.traces.exporter | traces exporter |
| otel.exporter.otlp.protocol | OTLP protocol |
| otel.exporter.otlp.traces.endpoint | traces endpoint |
| otel.traces.sampler | traces sampler |
Zipkin 不接收 OTLP,需要使用 ghcr.io/openzipkin-contrib/zipkin-otel,它在 9411 端口接收 OTLP/HTTP。
