Documentation ¶
Overview ¶
Package services implements business logic of pmm-managed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 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. |
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.