Good afternoon/evening. Question, I'm just settin...
# support
p
Good afternoon/evening. Question, I'm just setting up Signoz in my home lab to play around with it as we consider if for our organization. I've got the signoz/signoz image installed and running, but when I client on the "settings" / "General" to try to find the collector endpoint it just shows a spinning circle. I'm trying to get the collector on a second machine to connect and I'm struggling. Where can I find some help to get this connected? After this it's log monitoring and then tracing setup.
n
Hey @Peter Kuczaj, how are you running Signoz?
p
Through a docker container that's using signoz/signoz. The exact run command is:
Copy code
docker run \
        --name signoz \
        --rm \
        -p 8081:8080 \
        -p 4317:4317 \
        -p 4318:4318 \
        -v /data2/signoz:/var/lib/signoz \
        -v /local/signoz:/data \
        signoz/signoz
n
can you share your otel-collector config
p
Copy code
receivers:
  hostmetrics:
    collection_interval: 60s  # Frequency of metrics collection.
    scrapers:
      cpu: {}
      load: {}
      memory: {}
      disk: {}
      filesystem: {}
      network: {}
processors:
  resourcedetection:
    detectors: [env, system]
    system:
      hostname_sources: [os]
  resource/env:
    attributes:
    - key: deployment.environment
      value: staging
      action: upsert
extensions:
  health_check:
  zpages:
exporters:
  otlp:
    endpoint: "signoz:4317"   # Your SigNoz collector endpoint.
    tls:
      insecure: true
service:
  telemetry:
    metrics:
      address: 0.0.0.0:8888
  extensions: [health_check, zpages]
  pipelines:
    metrics/hostmetrics:
      receivers: [hostmetrics]
      processors: [resourcedetection, resource/env]
      exporters: [otlp]
The otel-collector is running on the machine that I want to monitor and has the logs generated by the application that I want to get metrics and logs from