This message was deleted.
# support
s
This message was deleted.
👀 1
1
p
@Ankit Nayan may have more ideas on this
p
Hi @avtar singh 👋 You can relay it as OTLP format to SigNoz while running OpenTelemetry collector instance else where. If you are looking for something equivalent for
prometheusremotewrite
, it would be
clickhousemetricswrite
however, you would have to run SigNoz OtelCollector image and pass ClickHouse credentials. https://github.com/SigNoz/signoz/blob/develop/deploy/docker/clickhouse-setup/otel-collector-metrics-config.yaml#L57-L59 https://github.com/SigNoz/charts/blob/main/charts/signoz/values.yaml#L1172-L1174
a
Hi @Prashant Shahi. Thank you for the input I will try OTLP way
p
Sure.. Do let us know if you face any issues with it.
👍 1
a
@avtar singh which remote prometheus storage do you wise to write using
prometheusremotewrite
? Ideally you should not need with signoz setup
a
I am writing to thanos
a
you can still use the
prometheusremotewrite
exporter to write to thanos. That would just be an additional config to add to otel-collector exporters https://github.com/SigNoz/opentelemetry-collector-contrib/tree/develop/exporter/prometheusremotewriteexporter
but why do you want to use thanos with signoz? SigNoz itself is a central hub for all telemetry data including metrics. Different otel-collectors with different scrape configs in prometheus receiver and writing to clickhouse as signoz comes with default settings should be good enough unless you are running prometheus in HA mode (multiple prometheus instances scraping same set of metrics). We have not enabled de-duplication of data yet in signoz
but multiple prometheus instances scraping different configs (or multiple otel-collectors with different scrape configs in prometheus receiver) should write all data in clickhouse and you can query all metrics from signoz's UI which acts as centralized view of all data
a
with prometheusremotewrite I was getting 404
a
with prometheusremotewrite I was getting 404
there would be config or thanos set up issue. SigNoz uses otel-collector which enables writing via
prometheusremotewrite
a
okay I will try it again.
a
totally unrelated question does the vanilla Prometheus support direct write ?
a
vanilla Prometheus support direct write
you mean write to thanos? Yes
a
direct write to prometheus without thanos
a
you will need to use
prometheusexporter
at otel-collector https://github.com/SigNoz/opentelemetry-collector-contrib/tree/develop/exporter/prometheusexporter which will expose at some endpoint and then prometheus can scrape the otel-collectors to get the metrics
👍 1
but everything above is not tested to work with signoz as we try to be complete replacement to all stacks of observability