mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-22 16:00:38 +00:00
chore(ci): collect monitor logs and traces on fuzz test failures (#7728)
* feat: fuzz tests monitoring Signed-off-by: WenyXu <wenymedia@gmail.com> * chore: resource limit Signed-off-by: WenyXu <wenymedia@gmail.com> * refactor: minor Signed-off-by: WenyXu <wenymedia@gmail.com> * dump create table statement Signed-off-by: WenyXu <wenymedia@gmail.com> * modify standalone storage size Signed-off-by: WenyXu <wenymedia@gmail.com> --------- Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -24,6 +24,8 @@ inputs:
|
||||
description: "Etcd endpoints"
|
||||
values-filename:
|
||||
default: "with-minio.yaml"
|
||||
base-values-filename:
|
||||
default: "with-observability.yaml"
|
||||
enable-region-failover:
|
||||
default: false
|
||||
|
||||
@@ -49,6 +51,9 @@ runs:
|
||||
- name: Install GreptimeDB cluster
|
||||
shell: bash
|
||||
run: |
|
||||
BASE_VALUES="./.github/actions/setup-greptimedb-cluster/${{ inputs.base-values-filename }}"
|
||||
SCENARIO_VALUES="./.github/actions/setup-greptimedb-cluster/${{ inputs.values-filename }}"
|
||||
|
||||
helm upgrade \
|
||||
--install my-greptimedb \
|
||||
--set 'meta.backendStorage.etcd.endpoints[0]=${{ inputs.etcd-endpoints }}' \
|
||||
@@ -66,7 +71,8 @@ runs:
|
||||
greptime/greptimedb-cluster \
|
||||
--create-namespace \
|
||||
-n my-greptimedb \
|
||||
--values ./.github/actions/setup-greptimedb-cluster/${{ inputs.values-filename }} \
|
||||
--values "${BASE_VALUES}" \
|
||||
--values "${SCENARIO_VALUES}" \
|
||||
--wait \
|
||||
--wait-for-jobs
|
||||
- name: Wait for GreptimeDB
|
||||
|
||||
28
.github/actions/setup-greptimedb-cluster/with-observability.yaml
vendored
Normal file
28
.github/actions/setup-greptimedb-cluster/with-observability.yaml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
tracing:
|
||||
enabled: true
|
||||
endpoint: "http://my-greptimedb-monitor-standalone.my-greptimedb:4000/v1/otlp/v1/traces"
|
||||
sampleRatio: "1.0"
|
||||
|
||||
monitoring:
|
||||
enabled: true
|
||||
standalone:
|
||||
base:
|
||||
main:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 256Mi
|
||||
datanodeStorage:
|
||||
fs:
|
||||
storageSize: 5Gi
|
||||
vector:
|
||||
resources:
|
||||
requests:
|
||||
cpu: "50m"
|
||||
memory: "64Mi"
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "256Mi"
|
||||
Reference in New Issue
Block a user