Versions in this module Expand all Collapse all v0 v0.1.0 Dec 14, 2022 Changes in this version + var GraphDefs []*mackerel.GraphDefsParam = []*mackerel.GraphDefsParam + var Logger *logrus.Entry + type CreateHostParam struct + EnvironmentID string + FunctionName string + MackerelApiKey string + RoleFullnames []string + type CreateOrGetHostParam = CreateHostParam + type Host struct + ID string + func CreateHost(param *CreateHostParam) (*Host, error) + func CreateOrGetHost(param *CreateOrGetHostParam) (*Host, error) + func GetHost(apiKey string) (*Host, error) + func (h *Host) CreateGraphDefs() error + func (h *Host) PostMetrics(metrics []*mackerel.MetricValue) error + func (h *Host) Retire() error + type MackerelConfig struct + ApiKey string + ApiKeySSMParamName string + RoleFullnames []string