Slackbot
01/10/2023, 10:02 PMAnkit Nayan
alertmanager
which finally integrates to slack, webhook etc. The query-service calls the alertmanager internallyAnkit Nayan
Paulo Henrique de Morais Santiago
01/11/2023, 1:56 PM2023/01/11 13:32:44 [error] 8#8: *171 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 10.88.7.10, server: _, request: "POST /api/v1/testChannel HTTP/1.1", upstream: "<http://100.126.65.203:8080/api/v1/testChannel>", host: "mypublicip", referrer: "<http://mypublicip/setting/channels/edit/1>"
Nice! I found a error log on query-service pod, i think calling alertmanager. Here the log:
2023-01-11T13:31:40.406Z ERROR alertManager/manager.go:177 Received Server Error response for API call to alertmanager(POST <http://signoz-apm-alertmanager:9093/api/v1/testReceiver>)
%!(EXTRA string=500 Internal Server Error)
<http://go.signoz.io/signoz/pkg/query-service/integrations/alertManager.(*manager).TestReceiver|go.signoz.io/signoz/pkg/query-service/integrations/alertManager.(*manager).TestReceiver>
/go/src/github.com/signoz/signoz/pkg/query-service/integrations/alertManager/manager.go:177
<http://go.signoz.io/signoz/pkg/query-service/app.(*APIHandler).testChannel|go.signoz.io/signoz/pkg/query-service/app.(*APIHandler).testChannel>
/go/src/github.com/signoz/signoz/pkg/query-service/app/http_handler.go:1031
<http://go.signoz.io/signoz/pkg/query-service/app.EditAccess.func1|go.signoz.io/signoz/pkg/query-service/app.EditAccess.func1>
/go/src/github.com/signoz/signoz/pkg/query-service/app/http_handler.go:271
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2047
<http://go.signoz.io/signoz/ee/query-service/app.loggingMiddleware.func1|go.signoz.io/signoz/ee/query-service/app.loggingMiddleware.func1>
/go/src/github.com/signoz/signoz/ee/query-service/app/server.go:234
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2047
<http://go.signoz.io/signoz/ee/query-service/app.(*Server).analyticsMiddleware.func1|go.signoz.io/signoz/ee/query-service/app.(*Server).analyticsMiddleware.func1>
/go/src/github.com/signoz/signoz/ee/query-service/app/server.go:340
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2047
<http://go.signoz.io/signoz/ee/query-service/app.setTimeoutMiddleware.func1|go.signoz.io/signoz/ee/query-service/app.setTimeoutMiddleware.func1>
/go/src/github.com/signoz/signoz/ee/query-service/app/server.go:368
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2047
<http://github.com/gorilla/mux.(*Router).ServeHTTP|github.com/gorilla/mux.(*Router).ServeHTTP>
/go/pkg/mod/github.com/gorilla/mux@v1.8.0/mux.go:210
<http://github.com/rs/cors.(*Cors).Handler.func1|github.com/rs/cors.(*Cors).Handler.func1>
/go/pkg/mod/github.com/rs/cors@v1.7.0/cors.go:219
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2047
<http://github.com/gorilla/handlers.CompressHandlerLevel.func1|github.com/gorilla/handlers.CompressHandlerLevel.func1>
/go/pkg/mod/github.com/gorilla/handlers@v1.5.1/compress.go:141
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2047
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:2879
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:1930
2023-01-11T13:31:40.407Z INFO app/server.go:235 /api/v1/testChannel timeTaken: 19m40.911784749s
@Ankit NayanAnkit Nayan
Paulo Henrique de Morais Santiago
01/11/2023, 2:09 PMAmol Umbark
01/11/2023, 3:52 PMPaulo Henrique de Morais Santiago
01/11/2023, 8:15 PMPaulo Henrique de Morais Santiago
01/11/2023, 8:17 PMPaulo Henrique de Morais Santiago
01/11/2023, 8:17 PMAmol Umbark
01/12/2023, 3:43 AMPaulo Henrique de Morais Santiago
01/13/2023, 10:56 PMPaulo Henrique de Morais Santiago
01/13/2023, 10:56 PMPaulo Henrique de Morais Santiago
01/13/2023, 10:57 PMPaulo Henrique de Morais Santiago
01/13/2023, 10:58 PMAmol Umbark
01/14/2023, 1:01 PMAmol Umbark
01/16/2023, 11:32 AM