phonehome

package
v0.0.0-...-69ce26b Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const AboutYouSpanAdminEmail = "highlight-about-you-admin-email"
View Source
const AboutYouSpanAdminFirstName = "highlight-about-you-admin-first-name"
View Source
const AboutYouSpanAdminLastName = "highlight-about-you-admin-last-name"
View Source
const AboutYouSpanHeardAbout = "highlight-about-you-heard-about"
View Source
const AboutYouSpanName = "highlight-about-you"
View Source
const AboutYouSpanReferral = "highlight-about-you-referral"
View Source
const AboutYouSpanRole = "highlight-about-you-role"
View Source
const AboutYouSpanTeamSize = "highlight-about-you-team-size"
View Source
const BackendSetup = "highlight-backend-setup"
View Source
const DataEndpoint = "https://otel.highlight.io:4318"
View Source
const ErrorCount = "highlight-error-count"
View Source
const ErrorViewCount = "highlight-error-view-count"
View Source
const HeartbeatInterval = 5 * time.Second
View Source
const HeartbeatSpanName = "highlight-heartbeat"
View Source
const HighlightProjectID = "1"
View Source
const LogCount = "highlight-log-count"
View Source
const LogViewCount = "highlight-log-view-count"
View Source
const MetricMemTotal = "highlight-mem-total"
View Source
const MetricMemUsedPercent = "highlight-mem-used-percent"
View Source
const MetricNumCPU = "highlight-num-cpu"
View Source
const SessionCount = "highlight-session-count"
View Source
const SessionViewCount = "highlight-session-view-count"
View Source
const SpanDeployment = "highlight-phone-home-deployment-id"
View Source
const SpanDopplerConfig = "highlight-doppler-config"
View Source
const SpanFrontendUri = "highlight-frontend-uri"
View Source
const SpanHighlightVersion = "highlight-version"
View Source
const SpanLicenseKey = "highlight-license-key"
View Source
const SpanOnPrem = "highlight-is-onprem"
View Source
const SpanPrivateGraphUri = "highlight-private-graph-uri"
View Source
const SpanPublicGraphUri = "highlight-public-graph-uri"
View Source
const SpanSSL = "highlight-ssl"
View Source
const TraceCount = "highlight-trace-count"

Variables

This section is empty.

Functions

func GetDefaultAttributes

func GetDefaultAttributes() ([]attribute.KeyValue, error)

func IsOptedOut

func IsOptedOut(_ context.Context) bool

func ReportAdminAboutYouDetails

func ReportAdminAboutYouDetails(ctx context.Context, admin *model.Admin)

func ReportUsageMetrics

func ReportUsageMetrics(ctx context.Context, usageType UsageType, id int, metrics []attribute.KeyValue)

func Start

func Start(ctx context.Context) error

Types

type UsageType

type UsageType = string
const AdminUsage UsageType = "highlight-admin-usage"
const WorkspaceUsage UsageType = "highlight-workspace-usage"

Jump to

Keyboard shortcuts

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