Categorygithub.com/webdevops/myuplink-exporter
modulepackage
0.0.0-20240914203632-bc9877b97f90
Repository: https://github.com/webdevops/myuplink-exporter.git
Documentation: pkg.go.dev

# README

myUplink.com exporter

license DockerHub Quay.io

A Prometheus exporter for myuplink.com device metrics

Usage

Usage:
  myuplink-exporter [OPTIONS]

Application Options:
      --log.debug                   debug mode [$LOG_DEBUG]
      --log.devel                   development mode [$LOG_DEVEL]
      --log.json                    Switch log output to json format [$LOG_JSON]
      --myuplink.url=               Url to myUplink API (default: https://api.myuplink.com) [$MYUPLINK_URL]
      --myuplink.auth.clientid=     ClientID from myUplink [$MYUPLINK_AUTH_CLIENTID]
      --myuplink.auth.clientsecret= ClientSecret from myUplink [$MYUPLINK_AUTH_CLIENTSECRET]
      --server.bind=                Server address (default: :8080) [$SERVER_BIND]
      --server.timeout.read=        Server read timeout (default: 5s) [$SERVER_TIMEOUT_READ]
      --server.timeout.write=       Server write timeout (default: 10s) [$SERVER_TIMEOUT_WRITE]

Help Options:
  -h, --help                        Show this help message

Auth (Client id and secret)

Register an application at myUplinkDEVS to get client id and secret for your application.

HTTP Endpoints

EndpointDescription
/metricsDefault prometheus golang metrics
/probeProbe devices metrics from myuplink.com

/probe

GET parameterDefaultRequiredMultipleDescription
cachenonoCache time in time.Duration (eg. 30s or 5m)

Metrics

MetricDescription
myuplink_system_infoSystem information
myuplink_system_device_infoDevice information (belongs to a system)
myuplink_system_device_pointDevice parameter metric point

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author