Discovery CLI will list estuary stack stats in your shell
There are 2 ways to configure this CLI:
- define one/multiple eureka server address and this CLI will look over all discovery(ies) to get the stack stats
eureka:
- "http://localhost:8080/eureka/v2"
- "http://localhost:8081/eureka/v2"
- define your discovery(ies) one by one. Make sure it is compatible as
homePageUrl
field in eureka server. Example:
discovery:
- http://localhost:8081/
- http://localhost:8082/
In case both sections are present discovery
section takes precedence.
- deploy an Eureka Server
docker run -ti -p 8080:8080 estuaryoss/netflix-eureka:1.10.11
- deploy estuary-discovery) on the target machine (metal/VM/Docker/IoT device)
- define the yaml configuration
- get Estuary Stack Stats
python .\main.py --username=admin --password=***** --file="config.yaml"
PS > python .\main.py --help
Usage: main.py [OPTIONS]
Options:
--username TEXT The username used for the Basic authentication
--password TEXT The password used for the Basic authentication
--protocol TEXT The protocol with which the estuary-discovery was deployed.
Default is http. E.g. https
--cert TEXT The certificate with which the estuary-discovery was
deployed. E.g. https/cert.pem
--file TEXT The yaml file path on disk. Default is "./config.yaml"
--help Show this message and exit.