Documentation
¶
Overview ¶
Copyright 2022 Nethermind
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- type AztecExporterParams
- type AztecExporterService
- func (a *AztecExporterService) AddTarget(target types.MonitoringTarget, labels map[string]string, jobName string) error
- func (a *AztecExporterService) ContainerName() string
- func (a *AztecExporterService) DotEnv() map[string]string
- func (a *AztecExporterService) Endpoint() string
- func (a *AztecExporterService) Init(opts types.ServiceOptions) error
- func (a *AztecExporterService) Name() string
- func (a *AztecExporterService) RemoveTarget(instanceID string) (string, error)
- func (a *AztecExporterService) SetContainerIP(ip net.IP)
- func (a *AztecExporterService) Setup(options map[string]string) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidOptions = errors.New("invalid options") ErrConfigNotFound = errors.New("config not found") )
Functions ¶
This section is empty.
Types ¶
type AztecExporterParams ¶
type AztecExporterService ¶
type AztecExporterService struct {
// contains filtered or unexported fields
}
func NewAztecExporter ¶
func NewAztecExporter(params AztecExporterParams) *AztecExporterService
func (*AztecExporterService) AddTarget ¶
func (a *AztecExporterService) AddTarget(target types.MonitoringTarget, labels map[string]string, jobName string) error
func (*AztecExporterService) ContainerName ¶
func (a *AztecExporterService) ContainerName() string
func (*AztecExporterService) DotEnv ¶
func (a *AztecExporterService) DotEnv() map[string]string
func (*AztecExporterService) Endpoint ¶
func (a *AztecExporterService) Endpoint() string
func (*AztecExporterService) Init ¶
func (a *AztecExporterService) Init(opts types.ServiceOptions) error
func (*AztecExporterService) Name ¶
func (a *AztecExporterService) Name() string
func (*AztecExporterService) RemoveTarget ¶
func (a *AztecExporterService) RemoveTarget(instanceID string) (string, error)
func (*AztecExporterService) SetContainerIP ¶
func (a *AztecExporterService) SetContainerIP(ip net.IP)