Documentation ¶
Overview ¶
Package services implements business logic of pmm-managed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSTTDisabled = errors.New("STT is disabled")
ErrSTTDisabled means that STT checks are disabled and can't be executed.
Functions ¶
func ToAPIAgent ¶
func ToAPIAgent(q *reform.Querier, agent *models.Agent) (inventorypb.Agent, error)
ToAPIAgent converts Agent database model to API model.
func ToAPINode ¶
func ToAPINode(node *models.Node) (inventorypb.Node, error)
ToAPINode converts Node database model to API model.
func ToAPIService ¶
func ToAPIService(service *models.Service) (inventorypb.Service, error)
ToAPIService converts Service database model to API model.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package agents contains business logic of working with pmm-agent.
|
Package agents contains business logic of working with pmm-agent. |
channel
Package channel contains protocol details of two-way communication channel between pmm-managed and pmm-agent.
|
Package channel contains protocol details of two-way communication channel between pmm-managed and pmm-agent. |
Package alertmanager contains business logic of working with Alertmanager.
|
Package alertmanager contains business logic of working with Alertmanager. |
Package checks provides security checks functionality.
|
Package checks provides security checks functionality. |
Package grafana provides facilities for working with Grafana.
|
Package grafana provides facilities for working with Grafana. |
Package inventory contains inventory business logic: Nodes, Services, Agents.
|
Package inventory contains inventory business logic: Nodes, Services, Agents. |
Package management contains management business logic and APIs.
|
Package management contains management business logic and APIs. |
grpc
Package grpc provides gRPC servers.
|
Package grpc provides gRPC servers. |
Package prometheus contains business logic of working with Prometheus.
|
Package prometheus contains business logic of working with Prometheus. |
Package qan contains business logic of working with QAN.
|
Package qan contains business logic of working with QAN. |
Package server implements pmm-managed Server API.
|
Package server implements pmm-managed Server API. |
Package supervisord provides facilities for working with Supervisord.
|
Package supervisord provides facilities for working with Supervisord. |
Package telemetry provides telemetry functionality.
|
Package telemetry provides telemetry functionality. |
Click to show internal directories.
Click to hide internal directories.