openweather-exporter:使用Openweather API的Prometheus导出器(https

时间:2021-04-08 07:18:21
【文件属性】:
文件名称:openweather-exporter:使用Openweather API的Prometheus导出器(https
文件大小:33KB
文件格式:ZIP
更新时间:2021-04-08 07:18:21
Go OpenWeather出口商 适用于Prometheus导出 要求 Linux / MacOSX,适用于Windows的 发展 配置 可以通过如下所述的ENV或CLI标志来控制Openweather导出程序。 环境 CLI(-- --flag ) 默认 描述 OW_LISTEN_ADDRESS listen-address :9091 / metrics侦听的端口 OW_APIKEY apikey 您的Openweather API密钥 OW_CITY city New York, NY 收集天气指标的城市/位置。 使用|分隔多个位置例如“纽约,纽约|西雅图,华盛顿” OW_DEGREES_UNIT degrees-unit F 显示指标的单位(开尔文,华氏度或摄氏) OW_LANGUAGE language EN 显示指标的语
【文件预览】:
openweather-exporter-master
----collector()
--------collector.go(7KB)
----Dockerfile(537B)
----LICENSE(11KB)
----main.go(2KB)
----VERSION(5B)
----.gitignore(308B)
----go.sum(41KB)
----README.md(3KB)
----geo()
--------geo.go(976B)
----script()
--------crosscompile(483B)
--------server(255B)
--------test(1KB)
--------clean(1KB)
--------common(372B)
--------settings(1KB)
--------cibuild(926B)
----go.mod(287B)

网友评论