package
1.8.2
Repository: https://github.com/andrejbranch/prometheus.git
Documentation: pkg.go.dev

# Functions

AppsToTargetGroups takes an array of Marathon apps and converts them into target groups.
NewDiscovery returns a new Marathon Discovery.
RandomAppsURL randomly selects a server from an array and creates an URL pointing to the app list.

# Structs

App describes a service running on Marathon.
AppList is a list of Marathon apps.
Container describes the runtime an app in running in.
Discovery provides service discovery based on a Marathon instance.
DockerContainer describes a container which uses the docker runtime.
PortDefinitions describes which load balancer port you should access to access the service.
PortMappings describes in which port the process are binding inside the docker container.
Task describes one instance of a service running on Marathon.

# Type aliases

AppListClient defines a function that can be used to get an application list from marathon.