Skip to content

Commit

Permalink
Fix Query Frontend grpc settings to avoid noisy error log
Browse files Browse the repository at this point in the history
Signed-off-by: Annanay <annanayagarwal@gmail.com>
  • Loading branch information
annanay25 committed May 6, 2021
1 parent dbe2f5a commit 6c74647
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* [ENHANCEMENT] Add config option to disable write extension to the ingesters. [#677](https://github.com/grafana/tempo/pull/677)
* [ENHANCEMENT] Preallocate byte slices on ingester request unmarshal. [#679](https://github.com/grafana/tempo/pull/679)
* [ENHANCEMENT] Zipkin Support - CombineTraces. [#688](https://github.com/grafana/tempo/pull/688)
* [CHANGE] Fix Query Frontend grpc settings to avoid noisy error log. [#690](https://github.com/grafana/tempo/pull/690)

## v0.7.0

Expand Down
2 changes: 2 additions & 0 deletions example/docker-compose/etc/tempo-azure.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
server:
http_listen_port: 3100
grpc_server_min_time_between_pings: 10s
grpc_server_ping_without_stream_allowed: true

distributor:
receivers: # this configuration will listen on all ports and protocols that tempo is capable of.
Expand Down
2 changes: 2 additions & 0 deletions example/docker-compose/etc/tempo-gcs-fake.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
server:
http_listen_port: 3100
grpc_server_min_time_between_pings: 10s
grpc_server_ping_without_stream_allowed: true

distributor:
receivers: # this configuration will listen on all ports and protocols that tempo is capable of.
Expand Down
2 changes: 2 additions & 0 deletions example/docker-compose/etc/tempo-local.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
server:
http_listen_port: 3100
grpc_server_min_time_between_pings: 10s
grpc_server_ping_without_stream_allowed: true

distributor:
receivers: # this configuration will listen on all ports and protocols that tempo is capable of.
Expand Down
2 changes: 2 additions & 0 deletions example/docker-compose/etc/tempo-s3-minio.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
server:
http_listen_port: 3100
grpc_server_min_time_between_pings: 10s
grpc_server_ping_without_stream_allowed: true

distributor:
receivers: # this configuration will listen on all ports and protocols that tempo is capable of.
Expand Down
2 changes: 2 additions & 0 deletions integration/microservices/tempo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ overrides:

server:
http_listen_port: 3100
grpc_server_min_time_between_pings: 10s
grpc_server_ping_without_stream_allowed: true

storage:
trace:
Expand Down
7 changes: 6 additions & 1 deletion operations/jsonnet/microservices/configmap.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,12 @@
}),
}),

tempo_query_frontend_config:: $.tempo_config{},
tempo_query_frontend_config:: $.tempo_config {
server+: {
grpc_server_min_time_between_pings: '10s',
grpc_server_ping_without_stream_allowed: 'true',
},
},

tempo_querier_configmap:
configMap.new('tempo-querier') +
Expand Down
2 changes: 2 additions & 0 deletions operations/jsonnet/single-binary/configmap.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
tempo_config:: {
server: {
http_listen_port: $._config.port
grpc_server_min_time_between_pings: '10s',
grpc_server_ping_without_stream_allowed: 'true',
},
distributor: {
receivers: $._config.receivers
Expand Down
2 changes: 2 additions & 0 deletions operations/kube-manifests/ConfigMap-tempo-query-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ data:
overrides:
per_tenant_override_config: /conf/overrides.yaml
server:
grpc_server_min_time_between_pings: 10s
grpc_server_ping_without_stream_allowed: "true"
http_listen_port: 3100
storage:
trace:
Expand Down
2 changes: 1 addition & 1 deletion operations/kube-manifests/Deployment-query-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
template:
metadata:
annotations:
config_hash: 76b3caf721a80349e206778e56d41a66
config_hash: b5f4677de37dc365cc5bc31681d49ce5
labels:
app: query-frontend
name: query-frontend
Expand Down
4 changes: 4 additions & 0 deletions operations/kube-manifests/Namespace-tracing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: tracing
1 change: 1 addition & 0 deletions operations/kube-manifests/StatefulSet-memcached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ spec:
name: http-metrics
updateStrategy:
type: RollingUpdate
volumeClaimTemplates: []
4 changes: 2 additions & 2 deletions operations/kube-manifests/util/jsonnetfile.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"subdir": "ksonnet-util"
}
},
"version": "2619bb87ecb336a59616df4c1fe8ced668bdbc94",
"version": "e5b5d8191dbbbaa5b4d68a946417177a44c74b16",
"sum": "jelt5QWEerVPLHHZN6Ga0B4OQ/MLBl+OLj3kVzTET+Y="
},
{
Expand All @@ -18,7 +18,7 @@
"subdir": "memcached"
}
},
"version": "2619bb87ecb336a59616df4c1fe8ced668bdbc94",
"version": "e5b5d8191dbbbaa5b4d68a946417177a44c74b16",
"sum": "dTOeEux3t9bYSqP2L/uCuLo/wUDpCKH4w+4OD9fePUk="
},
{
Expand Down

0 comments on commit 6c74647

Please sign in to comment.