Skip to content

Commit

Permalink
feat: set pod name as mysql server
Browse files Browse the repository at this point in the history
  • Loading branch information
CeerDecy committed Jun 28, 2024
1 parent d475d0b commit 55bd18a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions cmd/monitor/collector/bootstrap-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,6 @@ erda.oap.collector.processor.modifier@redis:
keypass:
name: [ "redis" ]
rules:
- action: rename
key: tags.redis_server
value: tags.redis-server

- action: rename
key: fields.redis_connected_clients
value: fields.clients
Expand Down
6 changes: 1 addition & 5 deletions cmd/monitor/collector/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ erda.oap.collector.processor.modifier@mysql:
name: [ "mysql" ]
rules:
- action: rename
key: tags.pod_ip
key: tags.pod
value: tags.server

- action: rename
Expand Down Expand Up @@ -348,10 +348,6 @@ erda.oap.collector.processor.modifier@redis:
keypass:
name: [ "redis" ]
rules:
- action: rename
key: tags.redis_server
value: tags.redis-server

- action: rename
key: fields.redis_connected_clients
value: fields.clients
Expand Down

0 comments on commit 55bd18a

Please sign in to comment.