MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / TelemetryName

Method TelemetryName

pkg/sql/types/types.go:1744–1746  ·  view source on GitHub ↗

TelemetryName returns a name that is friendly for telemetry.

()

Source from the content-addressed store, hash-verified

1742
1743// TelemetryName returns a name that is friendly for telemetry.
1744func (t *T) TelemetryName() string {
1745 return strings.ToLower(telemetryNameReplaceRegex.ReplaceAllString(t.SQLString(), "_"))
1746}
1747
1748// SQLStandardNameWithTypmod is like SQLStandardName but it also accepts a
1749// typmod argument, and a boolean which indicates whether or not a typmod was

Callers

nothing calls this directly

Calls 1

SQLStringMethod · 0.95

Tested by

no test coverage detected