fields

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package fields is intended to be the SSOT for Go applications for all of the field names used within our observability setup.

This is intended to help enforce consistency across components when it comes to field names.

Index

Constants

View Source
const (
	// correlation_id - string
	// This field is used to correlate
	// the logs emitted by all of our systems.
	// This should be present in all log line
	// emissions.
	CorrelationID = "correlation_id"

	// GitLabUserID - an integer field that
	// captures the user's numeric ID for logging purposes.
	GitLabUserID = "gl_user_id"

	// GitLabUserName - a string field that
	// captures the user's username for logging purposes.
	GitLabUserName = "gl_user_name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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