Skip to content

How to export all topics? #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wwng2333 opened this issue Jun 9, 2023 · 0 comments
Open

How to export all topics? #133

wwng2333 opened this issue Jun 9, 2023 · 0 comments

Comments

@wwng2333
Copy link

wwng2333 commented Jun 9, 2023

Hello, i want to export all topics in Crazy, like Crazy/LM75, but have no idea how to configure.

mqtt:
  server: "tcp://localhost:1883"
  client_id: "mqtt_exporter"
  topic_path: Crazy/+
  metric_per_topic_config:
    metric_name_regex: "(.*/)?(?P<metricname>.*)"
cache:
  timeout: -1
metrics:
  - prom_name: LM75
    mqtt_name: LM75
    type: gauge
  - prom_name: DS18B20
    mqtt_name: DS18B20
    type: gauge
  - prom_name: DHT11T
    mqtt_name: DHT11T
    type: gauge
  - prom_name: DHT11H
    mqtt_name: DHT11H
    type: gauge
  - prom_name: BATT
    mqtt_name: BATT
    type: gauge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant