Skip to content

Commit

Permalink
fix: disable metric
Browse files Browse the repository at this point in the history
  • Loading branch information
KaimingWan committed Jun 5, 2024
1 parent 71d3f29 commit 50443f3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 75 deletions.
73 changes: 0 additions & 73 deletions driver-automq/deploy/aws-cn/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,74 +56,6 @@
state: present


#- name: Prepare Telemetry
# tags: [prepare]
# any_errors_fatal: true
# hosts: telemetry
# connection: ssh
# become: true
# tasks:
# - name: Install Docker
# block:
# - name: Install dependencies
# apt:
# pkg:
# - ca-certificates
# - curl
# - gnupg
# state: present
# - name: Add Docker official GPG key
# apt_key:
# url: https://download.docker.com/linux/ubuntu/gpg
# state: present
# - command: dpkg --print-architecture
# register: dpkg_arch
# - name: Add Docker apt repository
# apt_repository:
# repo: deb [arch={{ dpkg_arch.stdout }}] https://download.docker.com/linux/ubuntu focal stable
# state: present
# - name: Install Docker
# apt:
# pkg:
# - docker-ce
# - docker-ce-cli
# - containerd.io
# - docker-compose-plugin
# state: present
# update_cache: yes
#
#
#- name: Install Telemetry
# tags: [install]
# any_errors_fatal: true
# hosts: telemetry
# connection: ssh
# become: true
# tasks:
# - name: Copy Telemetry package
# synchronize:
# src: "telemetry/"
# dest: "/opt/telemetry"
# - name: Make install script executable
# file:
# path: /opt/telemetry/install.sh
# mode: 0755
#
#
#- name: Start Telemetry
# tags: [run]
# any_errors_fatal: true
# hosts: telemetry
# connection: ssh
# become: true
# tasks:
# - name: Start Telemetry
# shell: ./install.sh start
# args:
# chdir: /opt/telemetry
# executable: /bin/bash


- name: Format and mount disks for Kafka hosts
tags: [prepare]
any_errors_fatal: true
Expand Down Expand Up @@ -191,8 +123,6 @@
node_id: "{{ hostvars[inventory_hostname]['kafka_id'] }}"
server_ids: "{{ groups.get('server') | map('extract', hostvars, 'kafka_id') | list }}"
server_addrs: "{{ groups.get('server') | map('extract', hostvars, 'private_ip') | map('regex_replace', '^(.*)$', '\\1:9093') | list }}"

# telemetry_ip: "{{ groups.get('telemetry') | map('extract', hostvars, 'private_ip') | first | default('') }}"
- set_fact:
quorum_servers: "{{ server_ids | zip(server_addrs) | map('join', '@') | join(',') }}"

Expand Down Expand Up @@ -395,6 +325,3 @@
- debug:
msg: "Benchmark clients {{ item }}"
with_items: "{{ groups['client'] }}"
# - debug:
# msg: "Grafana: http://{{ item }}:3000"
# with_items: "{{ groups['telemetry'] }}"
1 change: 0 additions & 1 deletion driver-automq/deploy/aws-cn/templates/broker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ s3.telemetry.metrics.exporter.type=otlp
# s3.metrics.exporter.prom.port=9090

# The OTel Collector endpoint, if exporter type is set to otlp or tracing is enabled
#s3.telemetry.exporter.otlp.endpoint=http://{{ telemetry_ip }}:4317

s3.telemetry.metrics.level=DEBUG
s3.telemetry.exporter.report.interval.ms=5000
Expand Down
1 change: 0 additions & 1 deletion driver-automq/deploy/aws-cn/templates/server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ s3.telemetry.metrics.exporter.type=otlp
# s3.metrics.exporter.prom.port=9090

# The OTel Collector endpoint, if exporter type is set to otlp or tracing is enabled
#s3.telemetry.exporter.otlp.endpoint=http://{{ telemetry_ip }}:4317

s3.telemetry.metrics.level=DEBUG
s3.telemetry.exporter.report.interval.ms=5000
Expand Down

0 comments on commit 50443f3

Please sign in to comment.