Chiranjeevi Medicharla
05/16/2022, 9:30 AMRohan Shetty
05/16/2022, 12:17 PMRohan Shetty
05/16/2022, 12:30 PMRohan Shetty
05/16/2022, 12:32 PMNicolas Casademont
05/16/2022, 6:39 PMKenichi Nakamura
05/16/2022, 6:57 PM/metrics
endpoint being requested at the set interval, and have pipelined that receiver to clickhousemetricswrite
exporter, and we can see metric names in clickhouse client, but nothing shows in the UI. Maybe like above, we are missing some understanding of the metrics view? Any help would be greatly appreciated!Steven Sim
05/17/2022, 6:11 AMDatabase Calls
tab having no data despite there are traces that are related to PostgreSQL queries (see 2nd screenshot)
Is there any extra steps or documentations that I missed that I needed to take to gain visibility on these database metrics?
I am currently using a java auto instrumentation from OpenTelemetry 1.13.1 w/ the startup settings as follows
-Dotel.metrics.exporter=none -Dotel.exporter.otlp.endpoint=<collector endpoint of signoz>:4317 -Dotel.resource.attributes=service.name=servicenamesomething -javaagent:/path/to/otel_agent.jar
Currently using Signoz installed from a helm chart with the collector version 0.43.0-0.1
Thanks in advance!Jonathan Berrios
05/17/2022, 2:27 PM2022.05.17 12:05:08.011343 [ 7 ] {} <Error> Application: Caught exception while loading metadata: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in posix_stat: failed to determine attributes for the specified path: Permission denied [/var/lib/clickhouse/metadata/system], Stack trace (when copying this message, always include the lines below):
0. std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x1924062d in ?
1. std::__1::system_error::system_error(std::__1::error_code, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x1924a297 in ?
2. ? @ 0x191ef361 in ?
3. ? @ 0x191eee36 in ?
4. ? @ 0x191fc9df in ?
5. std::__1::__fs::filesystem::__status(std::__1::__fs::filesystem::path const&, std::__1::error_code*) @ 0x191f8d07 in ?
6. ? @ 0x1354ee02 in /usr/bin/clickhouse
7. DB::loadMetadataSystem(std::__1::shared_ptr<DB::Context>) @ 0x1354e2e2 in /usr/bin/clickhouse
8. DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) @ 0xa29fa01 in /usr/bin/clickhouse
9. Poco::Util::Application::run() @ 0x16f53846 in /usr/bin/clickhouse
10. DB::Server::run() @ 0xa292554 in /usr/bin/clickhouse
11. mainEntryClickHouseServer(int, char**) @ 0xa2906e7 in /usr/bin/clickhouse
12. main @ 0xa213a0a in /usr/bin/clickhouse
13. __libc_start_main @ 0x7ff61d8bc0b3 in ?
14. _start @ 0xa0a782e in /usr/bin/clickhouse
Cannot print extra info for Poco::Exception (version 21.12.3.32 (official build))
which makes me re-install the whole deployment.
Have you faced this before ?
Thank you,Rahul Tiwari
05/18/2022, 11:39 AMBast
05/18/2022, 1:13 PMservice-map
if I only have application without http server (celery worker) the page is blank and console got
TypeError: Cannot read properties of undefined (reading 'callRate')
and
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'callRate')
Danish Ahmad Ansari
05/18/2022, 2:32 PMalan
05/19/2022, 8:50 AMpkg_resources.VersionConflict: (opentelemetry-api 1.11.1 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('opentelemetry-api==1.10.0'))
alan
05/20/2022, 5:05 AMCMD ["opentelemetry-instrument", "python","manage.py","runserver" ,"0.0.0.0:8080"]
alan
05/20/2022, 5:06 AMChiranjeevi Medicharla
05/20/2022, 5:23 AMChiranjeevi Medicharla
05/20/2022, 5:29 AMChiranjeevi Medicharla
05/20/2022, 5:29 AM2022-05-20T05:28:43.172Z INFO app/server.go:157 /api/v1/settings/ttl timeTaken: 6.452474382s
2022/05/20 05:28:43 http: URL query contains semicolon, which is no longer a supported separator; parts of the query may be stripped when parsed; see <http://golang.org/issue/25192|golang.org/issue/25192>
Chiranjeevi Medicharla
05/20/2022, 6:42 AMMatthew D
05/20/2022, 9:50 AMAboubakr LACHHAB
05/20/2022, 10:19 AM// tracing.js
'use strict'
const process = require('process');
const opentelemetry = require('@opentelemetry/sdk-node');
const { getNodeAutoInstrumentations } = require('@opentelemetry/auto-instrumentations-node');
const { OTLPTraceExporter } = require('@opentelemetry/exporter-otlp-grpc');
const { MeterProvider } = require('@opentelemetry/sdk-metrics-base');
const { HostMetrics } = require('@opentelemetry/host-metrics');
const { OTLPMetricExporter } = require('@opentelemetry/exporter-metrics-otlp-grpc');
const traceExporter = new OTLPTraceExporter();
const sdk = new opentelemetry.NodeSDK({
traceExporter,
instrumentations: [getNodeAutoInstrumentations()]
});
sdk.start()
.then(() => console.log('Tracing initialized',traceExporter))
.catch((error) => console.log('Error initializing tracing', error));
process.on('SIGTERM', () => {
sdk.shutdown()
.then(() => console.log('Tracing terminated'))
.catch((error) => console.log('Error terminating tracing', error))
.finally(() => process.exit(0));
});
const collectorOptions = {
// url is optional and can be omitted - default is <grpc://localhost:4317>
url: 'grpc://<my IP>:4317',
};
const exporter = new OTLPMetricExporter(collectorOptions);
const meterProvider = new MeterProvider({
exporter,
interval: 2000,
});
const hostMetrics = new HostMetrics({ meterProvider, name: 'example-host-metrics' });
hostMetrics.start();
and in my dashpoard I used example-host-metrics as PromQL Query.
I think I miss something, but I'm not sure what
NP : I tested custom-metrics-examples/nodejs/ exemple, and it work wellRajneesh Mehta
05/20/2022, 1:44 PMwget: bad address 'stitch-obserev-clickhouse:8123'
waiting for clickhouseDB
I can not find any service with this name and port.
Any view on thisAdam Farmer
05/20/2022, 2:50 PMAdam Farmer
05/20/2022, 2:52 PMAdam Farmer
05/20/2022, 5:43 PMAdam Farmer
05/20/2022, 5:44 PMAdam Farmer
05/20/2022, 5:46 PMAravind Chintalapalli
05/22/2022, 3:06 PMBaggage.current().toBuilder().put("enduser.id", userId).build().makeCurrent();
But it does not get reflected in the trace.Rishabh Tripathi
05/23/2022, 7:22 AMRishabh Tripathi
05/23/2022, 8:40 AMHima Vyas
05/24/2022, 5:11 AM