Bast
05/25/2022, 10:06 AMEzzEddin Abdullah
05/25/2022, 12:14 PM./install
command, I see that the dashboard is already up and running on <http://localhost:3301/application>
.
After configuring the environment variables with this command: OTEL_RESOURCE_ATTRIBUTES=service.name=Flask_App OTEL_METRICS_EXPORTER=none OTEL_EXPORTER_OTLP_ENDPOINT="<http://localhost:4317>" opentelemetry-instrument python3 app.py
, I don't see I don't see Flask_App is shown on the dashboard. Any idea what I'm doing wrong here?Darshan Mistry
05/25/2022, 12:42 PM2022-05-25T07:32:08.158Z warn zapgrpc/zapgrpc.go:191 [core] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"POST /v1/traces HTTP/1.1\"" {"grpc_log": true}
2022-05-25T07:33:03.158Z warn zapgrpc/zapgrpc.go:191 [core] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"POST /v1/traces HTTP/1.1\"" {"grpc_log": true}
2022-05-25T08:49:58.216Z warn zapgrpc/zapgrpc.go:191 [transport] transport: http2Server.HandleStreams failed to read frame: read tcp 172.19.0.5:4317->52.20.38.216:38694: read: connection reset by peer {"grpc_log": true}
2022-05-25T12:39:21.929Z warn zapgrpc/zapgrpc.go:191 [core] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"GET / HTTP/1.1\\r\\nRange: b\"" {"grpc_log": true}
Darshan Mistry
05/25/2022, 12:42 PMChris Ahern
05/25/2022, 4:30 PMhelm repo listNAME URL signoz https://charts.signoz.io
kubectl create ns platformnamespace/platform created
helm --namespace platform install my-release signoz/signozError: parse error at (signoz/charts/clickhouse/charts/zookeeper/charts/common/templates/_secrets.tpl:84): function "lookup" not defined Anyone else get this?
Alexei Zenin
05/31/2022, 7:47 PMInternal Server Error - Request ID: 01G4DTGZDHQKC3PYDSJSP1R8KP
Chris Ahern
06/01/2022, 12:53 AMMed Ghaith Sellami
06/01/2022, 4:37 PMAnthony Hathaway
06/01/2022, 5:35 PMuse GuzzleHttp\Client;
use GuzzleHttp\Psr7\HttpFactory;
use OpenTelemetry\Contrib\OtlpHttp\Exporter as OTLPExporter;
use OpenTelemetry\SDK\Common\Attribute\Attributes;
use OpenTelemetry\SDK\Trace\SpanProcessor\SimpleSpanProcessor;
use OpenTelemetry\SDK\Trace\TracerProvider;
...
$exporter = new OTLPExporter(
new Client(),
new HttpFactory(),
new HttpFactory()
);
$tracerProvider = new TracerProvider(
new SimpleSpanProcessor(
$exporter
)
);
Error: Trying to access array offset on value of type bool in /vendor/open-telemetry/opentelemetry/src/SDK/Resource/Detectors/Process.php:31
Seems to be thrown when creating a new TracerProvider. None of my data is getting sent to Signoz, though I've run the troubleshooting steps of printing out the telemetry data and also running the test to see if my docker container can hit signoz, both worked as expected.Kenichi Nakamura
06/01/2022, 8:24 PMRishabh Tripathi
06/02/2022, 8:07 AMRishabh Tripathi
06/02/2022, 8:07 AMMed Ghaith Sellami
06/02/2022, 12:48 PMclickhouse:
cloud: aws
installCustomStorageClass: true
storageClass: gp2-resizable
the gp2-resize
storageClass is created but not assigned correctly to the data-volumeclaim-template-chi-signoz-cluster-0-0-0
pvc.
any idea?Valentin Baert
06/02/2022, 2:18 PMSatyasanjibani Rautaray
06/02/2022, 4:36 PMSatyasanjibani Rautaray
06/02/2022, 4:36 PMSatyasanjibani Rautaray
06/02/2022, 4:38 PMRahul Tiwari
06/03/2022, 9:27 AMRitek Saxena
06/04/2022, 5:03 AMTushar Kanti Nath
06/05/2022, 3:40 AMTushar Kanti Nath
06/05/2022, 3:43 AMRishabh Tripathi
06/06/2022, 9:18 AMBenedikt
06/07/2022, 11:47 AMBenedikt
06/07/2022, 11:48 AMmanohar mirle
06/07/2022, 2:54 PMBenedikt
06/07/2022, 7:45 PMlogger.Error("Some error message");
I've added OTLP logging to the service:
services.AddLogging(logging =>
{
logging.ClearProviders();
logging.AddConsole();
logging.AddOpenTelemetry(options =>
{
options.SetResourceBuilder(resourceBuilder);
options.IncludeScopes = true;
options.ParseStateValues = true;
options.IncludeFormattedMessage = true;
if (UseConsoleExporter(monitoringSettings.LoggingExporter))
options.AddConsoleExporter();
if (UseOtlpExporter(monitoringSettings.LoggingExporter))
{
options.AddOtlpExporter(otlpOptions =>
{
otlpOptions.Endpoint = new Uri(monitoringSettings.OtlpEndpoint);
});
}
});
});
But the exception page is always empty (see the screenshot). Do I need to add something to the otel-collector? I could not find and "extension" or additional "service. Traces and Metrics were send successfully.Valentin Baert
06/08/2022, 9:01 AMclickhouse:
cloud: gcp
installCustomStorageClass: true
persistence:
storageClass: gce-resizable
But the documentation then links to the github (https://github.com/SigNoz/charts/tree/main/charts/signoz#configuration) but these values are not documented. There are some of them that are similar but on a different component
alertmanager.persistence.enabled Enable volume persistence true
alertmanager.persistence.storageClass Set storage class for persistent volume nil
alertmanager.persistence.accessModes Set access mode for persistent volume [ReadWriteOnce]
alertmanager.persistence.size Set storage size 100Mi
anand h
06/09/2022, 9:19 AMexport CATALINA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -javaagent:/Users/anand/libs/opentelemetry-javaagent.jar"
export OTEL_RESOURCE_ATTRIBUTES=service.name=MyApp
export OTEL_METRICS_EXPORTER=otlp
manohar mirle
06/09/2022, 1:44 PMValentin Baert
06/10/2022, 8:26 AMValentin Baert
06/10/2022, 8:26 AMreceivers:
otlp/spanmetrics:
protocols:
grpc:
endpoint: localhost:12345
jaeger:
protocols:
grpc:
endpoint: 0.0.0.0:14250
thrift_http:
endpoint: 0.0.0.0:14268
hostmetrics:
collection_interval: 30s
scrapers:
cpu: {}
load: {}
memory: {}
disk: {}
filesystem: {}
network: {}
otlp/auth:
protocols:
http:
endpoint: 0.0.0.0:4317
auth:
authenticator: oidc
processors:
batch:
send_batch_size: 1000
timeout: 10s
signozspanmetrics/prometheus:
metrics_exporter: prometheus
latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s]
dimensions_cache_size: 10000
dimensions:
- name: service.namespace
default: default
- name: deployment.environment
default: default
# memory_limiter:
# # 80% of maximum memory up to 2G
# limit_mib: 1500
# # 25% of limit up to 2G
# spike_limit_mib: 512
# check_interval: 5s
#
# # 50% of the maximum memory
# limit_percentage: 50
# # 20% of max memory usage spike expected
# spike_limit_percentage: 20
# queued_retry:
# num_workers: 4
# queue_size: 100
# retry_on_failure: true
extensions:
health_check: {}
zpages: {}
oidc:
issuer_url: <https://auth.review.mydomain.com/>
audience: <https://api.mydomain.com/>
exporters:
clickhouse:
datasource: tcp://${CLICKHOUSE_HOST}:${CLICKHOUSE_PORT}/?database=${CLICKHOUSE_TRACE_DATABASE}&username=${CLICKHOUSE_USER}&password=${CLICKHOUSE_PASSWORD}
clickhousemetricswrite:
endpoint: tcp://${CLICKHOUSE_HOST}:${CLICKHOUSE_PORT}/?database=${CLICKHOUSE_DATABASE}&username=${CLICKHOUSE_USER}&password=${CLICKHOUSE_PASSWORD}
resource_to_telemetry_conversion:
enabled: true
prometheus:
endpoint: "0.0.0.0:8889"
service:
extensions: [health_check, zpages, oidc]
pipelines:
traces:
receivers: [otlp/auth, jaeger]
processors: [signozspanmetrics/prometheus, batch]
exporters: [clickhouse]
metrics:
receivers: [otlp/auth, hostmetrics]
processors: [batch]
exporters: [clickhousemetricswrite]
metrics/spanmetrics:
receivers: [otlp/spanmetrics]
exporters: [prometheus]
extensions:
oauth2client:
client_id: ${MYDOMAIN_OTEL_CLIENT_ID}
client_secret: ${MYDOMAIN_OTEL_CLIENT_SECRET}
token_url: ${MYDOMAIN_OTEL_TOKEN_URL}
receivers:
otlp:
protocols:
grpc:
endpoint: localhost:4317
exporters:
otlp/auth:
endpoint: <http://signoz-otel-collector.apm.svc.cluster.local:4317>
auth:
authenticator: oauth2client
service:
extensions:
- oauth2client
pipelines:
traces:
receivers:
- otlp
processors: []
exporters:
- otlp/auth
[OkHttp <http://localhost:4317/...>] ERROR io.opentelemetry.exporter.internal.grpc.OkHttpGrpcExporter - Failed to export spans. The request could not be executed. Full error message: Failed to connect to localhost/0:0:0:0:0:0:0:1:4317
Do you have any idea why ? Could you point me towards what I am doing wrong ?Prashant Shahi
06/10/2022, 8:33 AMValentin Baert
06/10/2022, 10:04 AMSrikanth Chekuri
06/10/2022, 12:25 PMotlp/auth:
protocols:
http:
endpoint: 0.0.0.0:4317
auth:
authenticator: oidc
@Valentin Baert Why are using the 4317 (which is for gRPC) in http endpoint? When you say agent are you referring to java agent? I couldn't really follow. What is working and what is not working?Valentin Baert
06/10/2022, 1:29 PMexport OTEL_METRICS_EXPORTER=none
export OTEL_RESOURCE_ATTRIBUTES='service.name=myapp'
export OTEL_JAVAAGENT_CONFIGURATION_FILE='/path/to/opentelemetry.yaml'
java \
-javaagent:/path/to/opentelemetry-javaagent.jar \
-Dotel.metrics.exporter=none \
-jar \
myapp.jar
and the following opentelemetry.yaml for the java agent (as explained in the doc at https://opentelemetry.io/docs/collector/configuration/#authentication under the sentence "On the agent side, this is an example (...)" ) :
extensions:
oauth2client:
client_id: xxxxx
client_secret: xxxxxx
token_url: <https://xxxxxxx/oauth/token>
receivers:
otlp:
protocols:
grpc:
endpoint: localhost:4317
exporters:
otlp/auth:
endpoint: remotecollectorxxxxx:4317
auth:
authenticator: oauth2client
service:
extensions:
- oauth2client
pipelines:
traces:
receivers:
- otlp
processors: []
exporters:
- otlp/auth
Srikanth Chekuri
06/10/2022, 1:46 PMValentin Baert
06/10/2022, 1:47 PMSrikanth Chekuri
06/10/2022, 1:50 PMValentin Baert
06/10/2022, 1:52 PMSrikanth Chekuri
06/10/2022, 1:58 PMValentin Baert
06/10/2022, 2:13 PM