Skip to content

Commit

Permalink
filter out broken gRPC http metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed May 24, 2024
1 parent e7eb46f commit a8049b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions recipes/beyla-golden-signals/beyla-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ spec:
requests:
cpu: 10m
memory: 100Mi
limits:
memory: 500Mi
image: grafana/beyla:1.5.2
securityContext:
seccompProfile:
Expand Down
2 changes: 2 additions & 0 deletions recipes/beyla-golden-signals/collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ spec:
datapoint:
# Some gRPC metrics appear not to have an RPC method.
- metric.name == "rpc.server.duration" and attributes["rpc.method"] == ""
# Some HTTP metrics appear not to have an http method.
- metric.name == "http.server.request.duration" and attributes["http.request.method"] == ""
transform:
metric_statements:
- context: metric
Expand Down

0 comments on commit a8049b1

Please sign in to comment.