API reference

Service API Reference


Get known services

Get known services allows you to query the services that Metoro has detected in the cluster.

GET https://us-east.metoro.io/api/v1/knownServices

The response will be a GetKnownServicesResponse object.

type KnownService struct {
    // The display name of the service
    DisplayName       string  `json:"displayName"`
    
    // The name of the service
    ServiceName       string  `json:"serviceName"`
    
    // The number of requests per second the service is making
    RequestsPerSecond float64 `json:"requestsPerSecond"`

    // The number of logs per second the service is emitting
    LogsPerSecond     float64 `json:"logsPerSecond"`
}

type GetKnownServicesResponse struct {
    // The known services in the cluster
    Services []KnownService `json:"services"`
}
Previous
Overview
Next
Logs