Sandeep Yadav [C]
02/23/2022, 11:43 AMKamal Dodiya
02/23/2022, 4:13 PMHardik Agrawal
02/28/2022, 11:04 AMVishal Sharma
02/28/2022, 5:06 PMAlison Lopez Alfonzo
03/01/2022, 3:56 PMAkshay Jagtap
03/02/2022, 12:55 PMZaid Khan
03/02/2022, 2:22 PMvivekanand Yadav
03/03/2022, 2:49 PMAxay Sagathiya
03/03/2022, 8:35 PMAadhav
03/04/2022, 4:46 AMgo run main.go
(inside pkg/query-service
), but for adding new dependencies like viper
, I had to pin its version like go get <http://github.com/spf13/viper@v1.0.0|github.com/spf13/viper@v1.0.0>
to make it work.
Go version: v1.14.7
On using go mod tidy
or go build
, dependencies seem to collide.
When I add new dependencies like viper
to the project, the Docker build (make build-query-service-amd64
) and locally building query service fails.
Full error stacktrace:
./../../../.gvm/pkgsets/go1.14.7/global/pkg/mod/github.com/!sig!noz/prometheus@v1.9.68/discovery/consul/consul.go:27:2: ambiguous import: found package <http://github.com/hashicorp/consul/api|github.com/hashicorp/consul/api> in multiple modules:
<http://github.com/hashicorp/consul|github.com/hashicorp/consul> v1.1.1-0.20180615161029-bed22a81e9fd (/home/user/.gvm/pkgsets/go1.14.7/global/pkg/mod/github.com/hashicorp/consul@v1.1.1-0.20180615161029-bed22a81e9fd/api)
<http://github.com/hashicorp/consul/api|github.com/hashicorp/consul/api> v1.12.0 (/home/user/.gvm/pkgsets/go1.14.7/global/pkg/mod/github.com/hashicorp/consul/api@v1.12.0)
The problem is in <http://github.com/signoz/prometheus|github.com/signoz/prometheus>
, it seems. I replicated the same issue in an isolated environment (Docker) and used multiple go versions (1.14, 1.17) using gvm
, but the issue still persists.David Burke
03/07/2022, 4:18 PMsignoz/sample-django:latest1
there should not be a 1. In addition, it is not safe to assume
host.docker.internal
will resolve, though fixing these issues results in an message about not having the x86 image. I do not have any arm hardware to test on.Kratika Bansal
03/08/2022, 8:43 AMAri Vogli
03/08/2022, 6:07 PMSlackbot
03/09/2022, 8:48 AMvivekanand Yadav
03/11/2022, 6:12 AMOfir Yaron
03/13/2022, 7:07 PMWarning FailedScheduling 4m15s (x225 over 4h9m) default-scheduler 0/5 nodes are available: 5 node(s) had taint {<http://eks.amazonaws.com/compute-type|eks.amazonaws.com/compute-type>: fargate}, that the pod didn't tolerate.
I was wondering if there is a different helm configuration to meet fargate configuration (or any additional step to overcome this issue)
Thanks in advance for any assistanceRobert Francisti
03/15/2022, 9:15 AMBhaswanth Gattineni
03/15/2022, 11:46 AMHardik Agrawal
03/15/2022, 1:04 PMSrinjoy Choudhury
03/16/2022, 1:58 PMUdi Oz
03/16/2022, 4:25 PMKumaran Ilangovan
03/18/2022, 2:06 PMIyan Lucas Duarte Marques
03/18/2022, 2:46 PMHardik Agrawal
03/21/2022, 12:26 PMFarisology
03/21/2022, 12:53 PM<http://my-ip:3301>
however, now when it comes to creating Instrumenting for my FastAPI application I get confused.
• port 3301: This port to access my signoz dashboard (in the server where signoz is running) - as per the installation page here - https://signoz.io/docs/install/docker
• port 4317: in the Instrumenting a sample FastAPI application with OpenTelemetry page - https://signoz.io/docs/instrumentation/fastapi/ the following command:
OTEL_RESOURCE_ATTRIBUTES=service.name=<service_name> \OTEL_EXPORTER_OTLP_ENDPOINT="http://<IP of SigNoz>:4317" \
opentelemetry-instrument uvicorn main:app --host localhost --port 5002
1- Should port 4317 be open in the instance where signoz is running (like using a security group to allow access)
2- is this port just for OTEL data sharing?
Sorry if am missing something here, am not a DevOps guy and will appreciate any clarification if am confused about something hereHardik Agrawal
03/21/2022, 1:22 PMfunc getTraceProvider(svcName string, server string) (*sdkTrace.TracerProvider, error) {
env, _ := cfg.GetEnvironment()
provider := sdkTrace.NewTracerProvider(
sdkTrace.WithResource(sdkResource.NewWithAttributes(
semconv.SchemaURL,
semconv.DeploymentEnvironmentKey.String(env),
semconv.ServiceNameKey.String(svcName),
semconv.ServiceNamespaceKey.String(server),
)),
)
otel.SetTracerProvider(provider)
otel.SetTextMapPropagator(propagation.TraceContext{})
return provider, nil
}
However I do not see DeploymentEnvironmentKey, SchemaURL, etc on signoz dashboard anywhere. I verified with std out exporter and these values are being passed.Zishan Shaikh
03/22/2022, 7:38 AMUwe Voelker
03/22/2022, 8:56 AMotel-collector_1 | 2022-03-22T08:51:28.780Z info service/collector.go:124 Everything is ready. Begin running and processing data.
otel-collector_1 | time="2022-03-22T08:51:28Z" level=error msg="invalid character '\\x06' in string literal" component=clickhouse
otel-collector_1 | time="2022-03-22T08:51:33Z" level=error msg="invalid character '\\x06' in string literal" component=clickhouse
otel-collector_1 | time="2022-03-22T08:51:38Z" level=error msg="invalid character '\\x06' in string literal" component=clickhouse
otel-collector_1 | time="2022-03-22T08:51:43Z" level=error msg="invalid character '\\x06' in string literal" component=clickhouse
otel-collector_1 | time="2022-03-22T08:51:48Z" level=error msg="invalid character '\\x06' in string literal" component=clickhouse
How can I debug this? Or can I ignore this? Unfortunately the app is behaving strange (the /trace page is working, but if I click on a trace the page is blank).Selva
03/22/2022, 10:48 AMapi/traces
but the same did not work with signozArmand Fardeau
03/22/2022, 2:29 PMArmand Fardeau
03/22/2022, 2:29 PMVishal Sharma
03/22/2022, 2:29 PMPrashant Shahi
03/23/2022, 8:32 AM