Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentelementry的示例问题 #115

Closed
SIN5t opened this issue Sep 25, 2023 · 5 comments
Closed

opentelementry的示例问题 #115

SIN5t opened this issue Sep 25, 2023 · 5 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@SIN5t
Copy link

SIN5t commented Sep 25, 2023

用wsl2建立了docker-compose.yml和otel-collector-config.yaml运行之后,有一个容器:opentelemetry-collector一直运行不起来

示例:
image

本地建立yaml文件:
image

docker运行:
image

报错日志:
image
看日志的意思好像是opentelemetry-collector 支持的export中不含有jaeger,有效的是这些:(valid values: [skywalking sumologic dynatrace prometheusremotewrite sapm tanzuobservability prometheus awscloudwatchlogs carbon f5cloud googlemanagedprometheus influxdb otlp otlphttp clickhouse datadog instana loadbalancing loki opencensus logging splunk_hec tencentcloud_logservice parquet awsxray azuremonitor cassandra googlecloudpubsub zipkin awss3 file logicmonitor signalfx coralogix azuredataexplorer elasticsearch googlecloud pulsar sentry alibabacloud_logservice awskinesis dataset kafka logzio mezmo awsemf])

定位到otel-collector-config.yaml中的配置:
image
里面指定的exporters确实指定了jaeger

问题猜测:
是不是版本问题,otel-collector的最新版本中exporters不支持jaeger了?

@GuangmingLuo
Copy link
Member

@rogerogers @CoderPoet Please take a look.

@rogerogers
Copy link
Contributor

是的,新版本 jaeger 原生支持 OTLP 协议投递,jaeger exporter已经被移除了。

@rogerogers
Copy link
Contributor

exporters:
  otlp:
    endpoint: jaeger-all-in-one:4317
    tls:
      insecure: true

改成 otlp 应该ok的。

@SIN5t
Copy link
Author

SIN5t commented Sep 26, 2023

十分感谢!问题解决!!!

@SIN5t SIN5t closed this as completed Sep 26, 2023
@li-jin-gou li-jin-gou reopened this Sep 26, 2023
@li-jin-gou
Copy link
Member

重新打开,原因是使用 otel 的地方需要修改此配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Development

No branches or pull requests

5 participants