Koushik Maiti
06/08/2023, 1:44 PMAli Basharat
06/08/2023, 5:07 PMJack Ly (JackLy)
06/09/2023, 3:47 PMfrontend
customer
mysql
driver
route
redis
Happy Misty
06/09/2023, 9:58 PMHappy Misty
06/09/2023, 10:00 PMsumanth reddy
06/12/2023, 6:37 AMRamkumar Vaidyanathan
06/12/2023, 10:31 PMRomil Shah
06/13/2023, 7:24 AMDipen Bhatt
06/13/2023, 11:39 AMOTEL_EXPORTER_OTLP_ENDPOINT
to the prod signoz deployments and got some error.
Below is my django logs
Traceback (most recent call last):
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/sdk/_logs/export/__init__.py", line 259, in _export_batch
self._exporter.export(self._log_records[:idx]) # type: ignore
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/exporter/otlp/proto/http/_log_exporter/__init__.py", line 142, in export
resp = self._export(serialized_data)
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/exporter/otlp/proto/http/_log_exporter/__init__.py", line 113, in _export
return <http://self._session.post|self._session.post>(
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/requests/sessions.py", line 578, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/instrumentation/requests/__init__.py", line 128, in instrumented_request
return _instrumented_requests_call(
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/instrumentation/requests/__init__.py", line 245, in _instrumented_requests_call
raise exception.with_traceback(exception.__traceback__)
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/instrumentation/requests/__init__.py", line 209, in _instrumented_requests_call
result = call_wrapped() # *** PROCEED
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/instrumentation/requests/__init__.py", line 126, in call_wrapped
return wrapped_request(self, method, url, *args, **kwargs)
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/instrumentation/requests/__init__.py", line 148, in instrumented_send
return _instrumented_requests_call(
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/instrumentation/requests/__init__.py", line 159, in _instrumented_requests_call
return call_wrapped()
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/opentelemetry/instrumentation/requests/__init__.py", line 146, in call_wrapped
return wrapped_send(self, request, **kwargs)
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/Users/deepsea/Documents/Dukaan/py-order/lib/python3.9/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
And i cant find any way of checking what exactly is happening. I am assuming the otel-collector is somehow not able to ingest the spans in clickhouse but i couldn’t find any way of viewing debug logs for the collector to understand the root cause. Is this probably a scale issue?
I checked the troubleshooting guide and running the trouble shooting command gave following error.
> sudo docker run -it --rm signoz/troubleshoot checkEndpoint --endpoint=172.17.0.1:4318
2023-06-13T11:36:21.026Z INFO troubleshoot/main.go:28 STARTING!
2023-06-13T11:36:21.026Z INFO checkEndpoint/checkEndpoint.go:41 checking reachability of SigNoz endpoint
Error: not able to send data to SigNoz endpoint ...
rpc error: code = Unavailable desc = connection closed before server preface received
Usage:
signoz checkEndpoint [flags]
Examples:
checkEndpoint -e localhost:4317
Flags:
-e, --endpoint string URL to SigNoz with port
-h, --help help for checkEndpoint
Been stuck on this and google searches aren’t returning anything helpful.GOURAV RAWAT
06/15/2023, 9:11 AMGOURAV RAWAT
06/15/2023, 9:12 AMMichael DeRazon
06/15/2023, 10:24 AMJoan Reyero
06/16/2023, 10:22 AMGeoffrey Maina
06/17/2023, 7:57 AM2023-06-17T104805+03:00 | 102.220.12.50 - - [17/Jun/20230748:05 +0000] "GET /api/v1/logs/tail?timestampStart=1686986894073000000 HTTP/1.1" 200 73664 "http://signoz.domain.xyz:3301/logs?q=" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" "-"
2023-06-17T104805+03:00 | 2023-06-17T074805.163Z INFO app/server.go:280 /api/v1/logs/tail timeTaken: 4m50.969067478s
2023-06-17T104805+03:00 | 2023-06-17T074805.163Z DEBUG app/http_handler.go:2261 done!
2023-06-17T104805+03:00 | 2023-06-17T074805.161Z DEBUG clickhouseReader/reader.go:3541 closing go routine : 172.18.0.10:59372
2023-06-17T104804+03:00 | 2023.06.17 074804.850539 [ 47 ] {2107a9a8-84e4-4791-b150-561fbbba4b5d} <Information> executeQuery: Read 798 rows, 6.23 KiB in 0.002790747 sec., 285944 rows/sec., 2.18 MiB/sec.
2023-06-17T104804+03:00 | 102.220.12.50 - - [17/Jun/20230748:04 +0000] "GET /logs?q= HTTP/1.1" 200 791 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" "-"
2023-06-17T104804+03:00 | 2023-06-17T074804.407Z DEBUG clickhouseReader/reader.go:3553 SELECT timestamp, id, trace_id, span_id, trace_flags, severity_text, severity_number, body,CAST((attributes_string_key, attributes_string_value), 'Map(String, String)') as attributes_string,CAST((attributes_int64_key, attributes_int64_value), 'Map(String, Int64)') as attributes_int64,CAST((attributes_float64_key, attributes_float64_value), 'Map(String, Float64)') as attributes_float64,CAST((resources_string_key, resources_string_value), 'Map(String, String)') as resources_string from signoz_logs.distributed_logs where timestamp >='1686988064851955929' and id > '2RIKkvmFr30zGjfEHHa8mJWn4HL' order by timestamp desc, id desc limit 100
Bipul Kumar
06/19/2023, 6:26 AM## Using the config, alertmanager.yml file is created.
## We no longer need the config file as query services
## delivers the required config.
# config:
# global:
# resolve_timeout: 1m
# slack_api_url: '<https://hooks.slack.com/services/xxx>'
# templates:
# - '/etc/alertmanager/*.tmpl'
# receivers:
# - name: 'slack-notifications'
# slack_configs:
# - channel: '#alerts'
# send_resolved: true
# icon_url: <https://avatars3.githubusercontent.com/u/3380462>
# title: '{{ template "slack.title" . }}'
# text: '{{ template "slack.text" . }}'
# route:
# receiver: 'slack-notifications'
Ashu
lior hollander
06/20/2023, 11:44 AM+ wget -O /tmp/histogramQuantile <https://github.com/SigNoz/signoz/raw/develop/deploy/docker/clickhouse-setup/user_scripts/histogramQuantile>
wget: bad address '<http://github.com|github.com>'
Vinay Donthula
06/21/2023, 5:34 AMPaulo Henrique de Morais Santiago
06/22/2023, 1:26 PMNočnica Mellifera
06/23/2023, 10:20 PMThejokrishna Aspari
06/24/2023, 4:39 PMNočnica Mellifera
06/24/2023, 5:28 PMThejokrishna Aspari
06/25/2023, 6:34 AMSumanth Balaji
06/26/2023, 6:05 AMThis alert is fired when the error count (current value: {{$value}}) crosses the threshold ({{$threshold}})
I want to make the description more descriptive with information on what the error is. I would like to know what all possible variables i can access in the description with ${{}}. Where can i find the list of variables?Pranay
Nočnica Mellifera
06/26/2023, 6:35 PMGeoffrey Maina
06/28/2023, 10:33 AMprocessors:
attributes:
actions:
- key: body
pattern: 'XnHyH4QALxXnQwmvw7XtB2brs63K4pby'
action: hash
redaction:
blocked_values:
- "XnHyH4QALxXnQwmvw7XtB2brs63K4pby"
See log below - I've applied json formatting to the log so i can apply json_parser on the collector config - that part is working.
{
"body": "Request full data: {\n \"username\": \"user\",\n \"key\": \"XnHyH4QALxXnQwmvw7XtB2brs63K4pby\",\n \"operator\": \"123\",\n \"no\": \"123\",\n \"units\": 20\n}",
"attributes": {
"host_and_client": {},
"channel": "production",
"context": {},
"datetime": "2023-06-28T12:51:56.962453+03:00",
"extra": {},
"level": 200,
"level_name": "INFO"
}
}
Is there anything I'm missing? How can I achieve the redaction? Thanks a lot in advance🙏KishanReddy
06/28/2023, 3:00 PMDave Smits
06/28/2023, 7:37 PMPurti Rajpal
06/29/2023, 10:06 AM