promcord icon indicating copy to clipboard operation
promcord copied to clipboard

How to change promcord port?

Open FlorianD78 opened this issue 1 year ago • 0 comments

General Troubleshooting

  • [x] I have checked for similar issues.
  • [x] I have updated to the latest promcord version

Question

Hello, I want to change the port of promcord exporter. I change it in docker-compose.yaml, prometheus.yml and grafana.json but it still not working. I would like to know if there is something else to change?

Steps to reproduce

docker-compose.yml:

  promcord:
    image: "biospheere/promcord"
    restart: always
    env_file: .env
    container_name: "promcord"
    expose:
      - 7000

prometheus.yml:


scrape_configs:
  - job_name: 'discord'
    static_configs:
      - targets: ['promcord:7000']

grafana.json (l.83-84):

"fields": "/^discord_ping_websocket{instance=\"promcord:7000\", job=\"discord\"}$/",
"values": false

FlorianD78 avatar Jan 30 '24 13:01 FlorianD78