telemetry

package
v0.0.0-...-00846d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at

http://aws.amazon.com/apache2.0/

or in the "license" file accompanying this file. This file 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

Constants

View Source
const (
	SSMAgentNamespace      = "SSMAgent"
	CoreAgentChannelName   = "core"
	AgentWorkerChannelName = "agent_worker"
)
View Source
const MaxLogBodySize = 400

Variables

This section is empty.

Functions

func GetLogger

func GetLogger(namespace string) telemetrylog.Log

GetLogger provides a handle on the github.com/aws/amazon-ssm-agent/common/telemetry/telemetrylog.Log. It can be used to emit logs.

func GetMeter

func GetMeter(namespace string) metric.Meter

GetMeter gets a metric.Meter object for the given namespace

func Initialize

func Initialize(context context.TelemetryContext) (err error)

func Shutdown

func Shutdown()

func TruncateLog

func TruncateLog(logBody string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL