status

command
v0.0.0-...-fb1a1ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

Status Service

This is the Status service. It reports on the general status of the m3o platform. Used as an uptime "ping" type endpoint it will return various information about the status of core services

If things are OK you'll receive a 200 OK, if not then you'll likely see 500 <some error>

$ curl localhost:8080/status/call
{"statusCode":200,"body":"{\"go.micro.api\":\"OK\",\"go.micro.auth\":\"OK\",\"go.micro.broker\":\"OK\",\"go.micro.config\":\"OK\",\"go.micro.debug\":\"OK\",\"go.micro.network\":\"OK\",\"go.micro.proxy\":\"OK\",\"go.micro.registry\":\"OK\",\"go.micro.runtime\":\"OK\",\"go.micro.store\":\"OK\"}"}

Config

The set of services to monitor can be loaded from config under the path micro.status.services. To set the list you can use the following call

micro call go.micro.config Config.Create '{"change":{"namespace":"micro","path":"micro.status.services","changeSet":{"format":"json","data":"go.micro.api,go.micro.auth,go.micro.broker,go.micro.config,go.micro.debug,go.micro.network,go.micro.proxy,go.micro.registry,go.micro.runtime,go.micro.server,go.micro.status,go.micro.store,go.micro.service.signup,go.micro.service.kubernetes,go.micro.service.invite,go.micro.service.payment"}}}'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
proto

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL