Ruslan Alentiev
09/15/2023, 7:31 AM[book@stage <http://stage.bookretreats.com|stage.bookretreats.com>]$ php htdocs/signoz.php
Endpoint: <http://194.140.199.96:4318/v1/traces>
Service Name: BookRetreats-PHP-Server
Insecure: true
Starting OTLP example[2023-09-14T13:24:41.005846+00:00] php-otlp-example.ERROR: Export failure {"exception":"[object] (RuntimeException(code: 0): Export retry limit exceeded at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransport.php:114)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Psr18NetworkException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Psr18Client.php:130)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Exception\\TransportException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Chunk/ErrorChunk.php:65)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Exception\\TransportException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Response/CurlResponse.php:324)","source":"OpenTelemetry\\Contrib\\Otlp\\SpanExporter"} []
[2023-09-14T13:24:41.217725+00:00] php-otlp-example.ERROR: Export failure {"exception":"[object] (RuntimeException(code: 0): Export retry limit exceeded at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransport.php:114)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Psr18NetworkException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Psr18Client.php:130)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Exception\\TransportException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Chunk/ErrorChunk.php:65)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Exception\\TransportException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Response/CurlResponse.php:324)","source":"OpenTelemetry\\Contrib\\Otlp\\SpanExporter"} []
[2023-09-14T13:24:41.513919+00:00] php-otlp-example.ERROR: Export failure {"exception":"[object] (RuntimeException(code: 0): Export retry limit exceeded at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransport.php:114)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Psr18NetworkException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Psr18Client.php:130)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Exception\\TransportException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Chunk/ErrorChunk.php:65)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Exception\\TransportException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Response/CurlResponse.php:324)","source":"OpenTelemetry\\Contrib\\Otlp\\SpanExporter"} []
[2023-09-14T13:24:41.796673+00:00] php-otlp-example.ERROR: Export failure {"exception":"[object] (RuntimeException(code: 0): Export retry limit exceeded at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/open-telemetry/sdk/Common/Export/Http/PsrTransport.php:114)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Psr18NetworkException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Psr18Client.php:130)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Exception\\TransportException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Chunk/ErrorChunk.php:65)\n[previous exception] [object] (Symfony\\Component\\HttpClient\\Exception\\TransportException(code: 0): Failed to connect to 194.140.199.96 port 4318: Connection refused for \"<http://194.140.199.96:4318/v1/traces>\". at /var/www/html/bookretreats.com/stage.bookretreats.com/vendor/symfony/http-client/Response/CurlResponse.php:324)","source":"OpenTelemetry\\Contrib\\Otlp\\SpanExporter"} []
OTLP complete!
The log from my php server for instrumentation.
Please help me to sovle this.Noor Ali
09/15/2023, 12:42 PMWilly Loos
09/15/2023, 2:14 PMextra_hosts:
- host.docker.internal:host-gateway
environment:
OTEL_EXPORTER_OTLP_INSECURE: "True"
OTEL_EXPORTER_OTLP_ENDPOINT: "host.docker.internal:4317"
Using `OTEL_EXPORTER_OTLP_ENDPOINT: "otel-collector:4317"`will give me error notices, but when i use `extra_hosts:`there are no traces but nu error messages either. The signals just seem to disappear.
Is there some other host or DNS that should connect to? (this is on linux)
I also tried adding signoz and my app to the same docker compose network. That should normally work, but the signoz compose structure is pretty complex. It seems like there is more than meets the eye concerning networking. Please tell me how to connect from another docker compose application.Noor Ali
09/15/2023, 7:29 PMshyam sunder
09/16/2023, 2:01 PMOlawale
09/16/2023, 2:49 PM"error": "clickhouse: dateTime overflow. timestamp must be between 1925-01-01 00:00:00 and 2283-11-11 00:00:00"}
. Any pointer on what might be the issue?
Thanks in advanceBorislav Grigorov
09/18/2023, 3:41 AMShoeb Ahmed
09/18/2023, 6:27 AMsunny thakur
09/19/2023, 3:13 AMGO
all separate processes not using/passing any context. Lets call them J1..J5 where J1 is the root span and each Job runs sequentially.
What is the best way to pass in parent span ID
to the current job. e.g. J2 parent span id -> J1; J3 -> J2; J4 ->J3; J5 -> J4.
I am using GO Otel library and sending them to Signoz but each job is a new trace instead of 1 trace with spans.
• Also, can I generate a traceID and set it as well instead of Otel or context to do it for me? I have a Hash that I can use as a TraceID for all the spans.Ju
09/19/2023, 4:38 AMRishabh Bhaskar
09/19/2023, 6:28 AMinfluxdb:
endpoint: 0.0.0.0:8086
to the receivers: and "influxdb" to the service>pipelines>metrics>receivers in otel-collector-metrics-config.yaml
Now when I am running
K6_INFLUXDB_ADDR="<https://0.0.0.0:8086>" K6_INFLUXDB_BUCKET="signoz" ./k6 run script.js -o xk6-influxdb
then I am getting this error
ERRO[0001] Couldn't send metrics points elapsed="327.621µs" error="Post \"<https://0.0.0.0:8086/api/v2/write?bucket=signoz&org=&precision=ns>\": dial tcp 0.0.0.0:8086: connect: connection refused" output=InfluxDBv2 points=9
ERRO[0002] Couldn't send metrics points elapsed="178.471µs" error="Post \"<https://0.0.0.0:8086/api/v2/write?bucket=signoz&org=&precision=ns>\": dial tcp 0.0.0.0:8086: connect: connection refused" output=InfluxDBv2 points=6
Anybody here who has faced something similar?shubham singh
09/19/2023, 12:28 PMGowthama Rajan
09/19/2023, 3:05 PMAlejandro Decchi
09/19/2023, 7:51 PMexporters
in opentelemetry-colelctor
to send metrics and traces to a self hosted SigNoz ?Dulls Dulls
09/20/2023, 6:22 AMNishant Kapoor
09/20/2023, 7:13 AMPrabhu CHP
09/20/2023, 9:52 AMBala Krishna
09/20/2023, 1:15 PMJayakar R
09/20/2023, 4:52 PMNguyen Trieu
09/21/2023, 3:09 AMHari Hara Sudhan I
09/21/2023, 6:35 AMSimran X
09/21/2023, 1:23 PMUlisses Silva
09/21/2023, 6:50 PM{
"@timestamp": "2023-09-21T15:38:31.950Z",
"log.level": "INFO",
"message": "OK GET /mnt/index.do",
"ecs.version": "1.2.0",
"service.name": "the_app",
"event.dataset": "the_app",
"process.thread.name": "http-nio-8080-exec-4",
"log.logger": "the_app.logger",
"app_module": "app_module",
"duration": "1442235497",
"http_request_method": "GET",
"http_url_path": "/mnt/index.do",
"user_id": "123456",
"span_id": "b6f1a671a3b298fe",
"trace_flags": "01",
"trace_id": "38a8eb9837cce5bb0e7f9276018b1985",
"other_info": "{\"a\":\"123\",\"b\":\"456\",\"c\":\"789\",\"d\":\"987\",\"e\":\"654\",\"f\":\"321\"}"
}
fluent-bit config:
[INPUT]
Name tail
Tag log4j2.ecs.*
Path /path/to/logs/app-json.log
Parser log4j2.ecs.json.parser
[OUTPUT]
Name forward
Match *
Host localhost
Port 24224
parser config
[PARSER]
Name log4j2.ecs.json.parser
Format json
Time_Key @timestamp
Time_Format %Y-%m-%dT%H:%M:%S.%LZ
Decode_Field_As escaped other_info do_next
Decode_Field_As json other_info
Borislav Grigorov
09/21/2023, 9:33 PMRaheel Butt
09/22/2023, 12:31 AMParthiban S
09/22/2023, 4:14 AMKhánh Duy
09/23/2023, 10:21 AMSaravanan Govindasamy
09/25/2023, 10:38 AMMario Giampietri
09/25/2023, 12:48 PMcommand
block which tries to pull histogramQuantile. So I was searching a way around this, ideas that came to mind (which would involve changes in the way the template is provided) are:
• provide the option to override command
under UDF (so we could mute it, or make the wget
call point to a custom location, eg a S3 reachable from CN);
• switch off UDF (enabled: false
) and use a custom init container block (to be added in template) to allow a final user to provide a custom solution;
If you think there is already a way around this issue let me know.
Final question: what do we lose without this init-container dependency and the histogramQuantile file?
Thanks 🙏George Farias
09/25/2023, 1:47 PM