Skip to content

Commit

Permalink
Refine the app developer dashboard (#540)
Browse files Browse the repository at this point in the history
* adding refined app developer dashboard and telemetry piece

* spelling mistake

* adding kustomise telemetry

* Add a repeating row with more compact panels

also:
- consistent colours for success/error/%
- text box at top to explain dashboard & row repeating
- %ile color gradient

---------

Co-authored-by: R-Lawton <rlawton@redhat.com>
  • Loading branch information
2 people authored and philbrookes committed Apr 16, 2024
1 parent aa6d482 commit bc9cb8b
Show file tree
Hide file tree
Showing 3 changed files with 725 additions and 1,105 deletions.
2 changes: 2 additions & 0 deletions config/observability/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ resources:
# scrape config.
# See https://github.com/prometheus-operator/prometheus-operator/issues/3071#issuecomment-763746836
- additional-scrape-configs.yaml
#https://istio.io/latest/docs/reference/config/telemetry/#MetricSelector-IstioMetric
- telemetry.yaml

patchesStrategicMerge:
- cluster_role.yaml
Expand Down
28 changes: 28 additions & 0 deletions config/observability/telemetry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: telemetry.istio.io/v1alpha1
kind: Telemetry
metadata:
name: namespace-metrics
namespace: istio-system
spec:
metrics:
- providers:
- name: prometheus
overrides:
- match:
metric: REQUEST_COUNT
tagOverrides:
destination_port:
value: "string(destination.port)"
request_host:
value: "request.host"
request_url_path:
value: "request.url_path"
- match:
metric: REQUEST_DURATION
tagOverrides:
destination_port:
value: "string(destination.port)"
request_host:
value: "request.host"
request_url_path:
value: "request.url_path"
Loading

0 comments on commit bc9cb8b

Please sign in to comment.