Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

How to change promcord port? #218

Open
2 tasks done
FlorianD78 opened this issue Jan 30, 2024 · 0 comments
Open
2 tasks done

How to change promcord port? #218

FlorianD78 opened this issue Jan 30, 2024 · 0 comments

Comments

@FlorianD78
Copy link

General Troubleshooting

  • I have checked for similar issues.
  • 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant