isdown Sun
10/27/2022, 6:08 AMGet Started
button is disabled even after I filled the details in this page. should I reinstall SigNoz?prajyod
10/27/2022, 8:49 AMHenrik
10/27/2022, 12:26 PMAbhinav Ramana
10/27/2022, 6:33 PMCMD ["uvicorn", "--workers", "2", "--host", "0.0.0.0", "--port", "8000", "--ws", "websockets", "--loop", "asyncio", "--ws-max-size", "100000", "--ws-ping-interval", "20.00", "--ws-ping-timeout", "20.00", "wombo.fastapi:app"]
However, Uvicorn can't be used because https://github.com/open-telemetry/opentelemetry-python-contrib/issues/385#issuecomment-1199088668, so as per your suggestion we migrated to
CMD opentelemetry-instrument --traces_exporter otlp_proto_grpc gunicorn wombo.fastapi:app --workers 2 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000
But this forced us to disable
nest_asyncio.apply()
Which inturn breaks a lot of our operations. Do you have any suggestions? I tried into seeing if i could use other worker classes like gevent
or eventlet
for gunicorn https://docs.gunicorn.org/en/latest/design.html#async-workers However they are giving monkey_patch errors which I can't initialize beforeAbhinav Ramana
10/27/2022, 6:38 PMAbhinav Ramana
10/27/2022, 6:49 PM[2022-10-27 18:47:48,590: ERROR/MainProcess] Callback failed for instrument system.swap.utilization.
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/opentelemetry/sdk/metrics/_internal/instrument.py", line 132, in callback
for api_measurement in callback(callback_options):
File "/opt/conda/lib/python3.8/site-packages/opentelemetry/instrumentation/system_metrics/__init__.py", line 423, in _get_system_swap_utilization
getattr(system_swap, metric) / system_swap.total,
ZeroDivisionError: division by zero
probably every time its sending metricAbhinav Ramana
10/28/2022, 12:23 AMfrom opentelemetry import metrics
meter = metrics.get_meter("worker_vqgan")
requests_counter = meter.create_counter(
name="requests",
description="number of requests",
unit="1"
)
But i dont see anything in signoz as per the screenshot
Also there were no errors
[2022-10-28 00:16:21,847: INFO/MainProcess] Connected to <sqs://AKIAWGXQXQ6WCOB7PP5J>:**@sqs.us-east-1.amazonaws.com/426780362668/dev-wombo-paint-standard
in the logsHenrik
10/28/2022, 7:52 AMQuy Bui
10/28/2022, 8:26 AM// sampling definition
Sampling is frequently used to reduce the number of traces that are collected and stored in the backend. This is often desirable because it is easy to produce more data than can be efficiently stored and queried. Sampling allows us to store only a subset of the total traces produced.
Wejdan
10/30/2022, 9:39 AMHenrik
10/31/2022, 11:00 AMAlexandre Campelo
10/31/2022, 4:59 PMShivvinay Kanswal
11/01/2022, 11:39 AMAlex Popa
11/01/2022, 12:05 PMPaulo Henrique de Morais Santiago
11/01/2022, 1:09 PMMarius Prodana
11/01/2022, 2:49 PMAllan Li
11/01/2022, 5:20 PMGeorge
11/01/2022, 6:50 PMGeorge
11/01/2022, 7:54 PMGeorge
11/01/2022, 7:54 PMFatal error: Uncaught ArgumentCountError: Too few arguments to function OpenTelemetry\SDK\Common\Attribute\Attributes::__construct(), 1 passed in /var/www/html/pub/index.php on line 71 and exactly 2 expected in /var/www/html/vendor/open-telemetry/opentelemetry/src/SDK/Common/Attribute/Attributes.php:19 Stack trace: #0 /var/www/html/pub/index.php(71): OpenTelemetry\SDK\Common\Attribute\Attributes->__construct(Array) #1 {main} thrown in /var/www/html/vendor/open-telemetry/opentelemetry/src/SDK/Common/Attribute/Attributes.php on line 19
George
11/01/2022, 7:55 PMGeorge
11/01/2022, 7:55 PMfor ($i = 0; $i < 3; $i++) {
// start a span, register some events
$span = $tracer->spanBuilder('loop-' . $i)->startSpan();
$span->setAttribute('remote_ip', '1.2.3.4')
->setAttribute('country', 'USA');
$span->addEvent('found_login' . $i, new Attributes([
'id' => $i,
'username' => 'otuser' . $i,
]));
$span->addEvent('generated_session', new Attributes([
'id' => md5((string) microtime(true)),
]));
$span->end();
}
C H
11/02/2022, 8:11 AMPrashantkumar Suthar
11/02/2022, 9:33 AMAshna
11/02/2022, 11:13 AMAshna
11/02/2022, 11:14 AMAshna
11/02/2022, 11:14 AMShivvinay Kanswal
11/03/2022, 7:49 AMbody
Logs are in JSON format, wanted the logs to be parsed by keys in json as fields so that we get to filter with them.
Currently struggling with that. Could someone guide me here on what i might be missing.
Sharing all the configurations on this thread.Shivvinay Kanswal
11/03/2022, 12:30 PMAlexei Zenin
11/03/2022, 4:18 PMAlexei Zenin
11/03/2022, 4:18 PM