Hey! I'm trying to setup signoz self host in a VM....
# support
v
Hey! I'm trying to setup signoz self host in a VM. I've created two VM's one for signoz UI and one for opentelemetry configurations! I've been doing the same thing that is mentioned in the docs with respect to the config.yaml but i'm facing few errors. Can anyone help me out in this regard! config.yaml
Copy code
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317
      http:
        endpoint: 0.0.0.0:4318
  googlecloudpubsub:
    project: <gcp-project-id>
    subscription: projects/<gcp-project-id>/subscriptions/<pubsub-topic's-subscription>
    encoding: raw_text
processors:
  batch: {}
  resource/env:
    attributes:
    - key: deployment.environment
      value: prod # can be dev, prod, staging etc. based on your environment
      action: upsert
exporters:
  clickhouselogsexporter:
    dsn: <tcp://clickhouse:9000/>
    timeout: 5s
    sending_queue:
      queue_size: 100
    retry_on_failure:
      enabled: true
      initial_interval: 5s
      max_interval: 30s
      max_elapsed_time: 300s
service:
  pipelines:
    logs:
      receivers: [otlp, googlecloudpubsub]
      processors: [batch, resource/env]
      exporters: [clickhouselogsexporter]
This is the error thrown after running the config file in the background! Error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s): error decoding 'exporters': unknown type: "clickhouselogsexporter" for id: "clickhouselogsexporter" (valid values: [awsxray logicmonitor mezmo sapm syslog googlemanagedprometheus prometheus pulsar rabbitmq splunk_hec awscloudwatchlogs azuremonitor coralogix otelarrow opensearch signalfx tencentcloud_logservice debug otlp elasticsearch honeycombmarker opencensus zipkin file influxdb kafka awsemf azuredataexplorer cassandra datadog doris loadbalancing awskinesis carbon googlecloud logzio loki sumologic nop clickhouse dataset googlecloudpubsub prometheusremotewrite otlphttp alibabacloud_logservice awss3 sentry])
b
I think you dont use Signoz dist. of Opentelemetry collector. clickhouselogsexporter is only available in Signoz distribution of Opentelemetry collector.
v
Can you explain a lil more about signoz distribution and how do i get started with that!
b
I think you installed
open-telemetry-contrib
mentioned in the docs.
wget <https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/>*v0.116.0*/otelcol-contrib_*0.116.0*_linux_amd64.deb
However contrib distro only have clickhouseexpoter . Signoz distro has clickhouselogexporter.
I havent installed Signoz distro on Linux. I just use docker image of it which works perfectly.
v
is there any documentation which guides me in achieving that?