forked from mongoose-os-libs/prometheus-metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmos.yml
26 lines (22 loc) · 717 Bytes
/
mos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
author: Pim van Pelt <[email protected]>
description: Implements Mongoose Prometheus Metrics endpoint
type: lib
version: 1.0
platforms: [esp32, esp8266, ubuntu]
sources:
- src
- src/${arch}
includes:
- include
config_schema:
- ["prometheus", "o", {title: "Prometheus settings"}]
- ["prometheus.server_enable", "b", true, {title: "Enable Prometheus HTTP endpoint"}]
- ["prometheus.server_uri", "s", "/metrics", {title: "Serve Prometheus from this uri"}]
- ["prometheus.pushgateway", "s", "example.com:9091", {title: "Prometheus pushgateway host:port"}]
libs:
- origin: https://github.com/mongoose-os-libs/http-server
tags:
- c
- http
- docs:cloud:Prometheus metrics
manifest_version: 2017-09-29