diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index e844426ce6e..7f1a3b5442d 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -22,10 +22,6 @@ updates:
directory: "/internal/tools"
schedule:
interval: "weekly"
- - package-ecosystem: "gomod"
- directory: "/model"
- schedule:
- interval: "weekly"
- package-ecosystem: "gomod"
directory: "/pdata"
schedule:
diff --git a/.github/workflows/api-compatibility.yml b/.github/workflows/api-compatibility.yml
index e0106600bf6..7afd68138b8 100644
--- a/.github/workflows/api-compatibility.yml
+++ b/.github/workflows/api-compatibility.yml
@@ -31,7 +31,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
- go-version: 1.17
+ go-version: 1.18
- name: Install-Tools
run: |
diff --git a/.github/workflows/build-and-test-windows.yaml b/.github/workflows/build-and-test-windows.yaml
index 387b0961a45..293ca7858d9 100644
--- a/.github/workflows/build-and-test-windows.yaml
+++ b/.github/workflows/build-and-test-windows.yaml
@@ -15,20 +15,15 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
- go-version: 1.17
- - name: Setup Go Environment
- run: |
- echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- shell: bash
+ go-version: 1.18
- name: Cache Go
uses: actions/cache@v3
env:
cache-name: cache-go-modules
with:
path: |
- \Users\runneradmin\go\pkg\mod
- %LocalAppData%\go-build
- key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('./go.mod', '**/go.sum') }}
- - name: Run Unit tests
- run: go test ./...
+ ~\go\pkg\mod
+ ~\AppData\Local\go-build
+ key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
+ - name: Run Unit Tests
+ run: make gotest
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 4b8ddbb92fa..ad9a1c85824 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -15,29 +15,22 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
- go-version: 1.17
- - name: Setup Go Environment
- run: |
- echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
+ go-version: 1.18
- name: Cache Go
- id: module-cache
+ id: go-cache
uses: actions/cache@v3
with:
- path: /home/runner/go/pkg/mod
- key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
+ path: |
+ ~/go/bin
+ ~/go/pkg/mod
+ key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- name: Install dependencies
- if: steps.module-cache.outputs.cache-hit != 'true'
+ if: steps.go-cache.outputs.cache-hit != 'true'
run: make gomoddownload
- - name: Cache Tools
- id: tool-cache
- uses: actions/cache@v3
- with:
- path: /home/runner/go/bin
- key: tools-${{ runner.os }}-${{ hashFiles('./internal/tools/go.mod', './cmd/mdatagen/go.mod', './cmd/mdatagen/*.go') }}
- name: Install Tools
- if: steps.tool-cache.outputs.cache-hit != 'true'
+ if: steps.go-cache.outputs.cache-hit != 'true'
run: make install-tools
+
lint:
runs-on: ubuntu-latest
needs: [setup-environment]
@@ -48,22 +41,14 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.17
- - name: Setup Go Environment
- run: |
- echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Cache Go
- id: module-cache
+ id: go-cache
uses: actions/cache@v3
with:
- path: /home/runner/go/pkg/mod
- key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- - name: Cache Tools
- id: tool-cache
- uses: actions/cache@v3
- with:
- path: /home/runner/go/bin
- key: tools-${{ runner.os }}-${{ hashFiles('./internal/tools/go.mod', './cmd/mdatagen/go.mod', './cmd/mdatagen/*.go') }}
+ path: |
+ ~/go/bin
+ ~/go/pkg/mod
+ key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- name: golint
run: make -j2 golint
- name: goimpi
@@ -78,23 +63,15 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
- go-version: 1.17
- - name: Setup Go Environment
- run: |
- echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
+ go-version: 1.18
- name: Cache Go
- id: module-cache
+ id: go-cache
uses: actions/cache@v3
with:
- path: /home/runner/go/pkg/mod
- key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- - name: Cache Tools
- id: tool-cache
- uses: actions/cache@v3
- with:
- path: /home/runner/go/bin
- key: tools-${{ runner.os }}-${{ hashFiles('./internal/tools/go.mod', './cmd/mdatagen/go.mod', './cmd/mdatagen/*.go') }}
+ path: |
+ ~/go/bin
+ ~/go/pkg/mod
+ key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- name: checklicense
run: make checklicense
- name: misspell
@@ -123,6 +100,7 @@ jobs:
git diff -s --exit-code || (echo 'Generated code is out of date, please run "make genotelcorecol" and commit the changes in this PR.' && exit 1)
- name: Multimod verify
run: make multimod-verify
+
unittest:
strategy:
matrix:
@@ -136,29 +114,22 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- - name: Setup Go Environment
- run: |
- echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Cache Go
- id: module-cache
- uses: actions/cache@v3
- with:
- path: /home/runner/go/pkg/mod
- key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- - name: Cache Tools
- id: tool-cache
+ id: go-cache
uses: actions/cache@v3
with:
- path: /home/runner/go/bin
- key: tools-${{ runner.os }}-${{ hashFiles('./internal/tools/go.mod', './cmd/mdatagen/go.mod', './cmd/mdatagen/*.go') }}
+ path: |
+ ~/go/bin
+ ~/go/pkg/mod
+ key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- name: Cache Build
uses: actions/cache@v3
with:
- path: /home/runner/.cache/go-build
- key: go-build-unittest-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
+ path: ~/.cache/go-build
+ key: unittest-${{ runner.os }}-go-build-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
- name: Run Unit Tests
run: make gotest
+
test-coverage:
runs-on: ubuntu-latest
needs: [setup-environment]
@@ -168,28 +139,20 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
- go-version: 1.17
- - name: Setup Go Environment
- run: |
- echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
+ go-version: 1.18
- name: Cache Go
- id: module-cache
+ id: go-cache
uses: actions/cache@v3
with:
- path: /home/runner/go/pkg/mod
- key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- - name: Cache Tools
- id: tool-cache
- uses: actions/cache@v3
- with:
- path: /home/runner/go/bin
- key: tools-${{ runner.os }}-${{ hashFiles('./internal/tools/go.mod', './cmd/mdatagen/go.mod', './cmd/mdatagen/*.go') }}
+ path: |
+ ~/go/bin
+ ~/go/pkg/mod
+ key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- name: Cache Build
uses: actions/cache@v3
with:
- path: /home/runner/.cache/go-build
- key: go-build-coverage-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
+ path: ~/.cache/go-build
+ key: coverage-${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
- name: Run Unit Tests With Coverage
run: make gotest-with-cover
- name: Upload coverage report
@@ -198,6 +161,7 @@ jobs:
file: ./coverage.txt
fail_ci_if_error: true
verbose: true
+
cross-build-collector:
needs: [setup-environment]
runs-on: ubuntu-latest
@@ -231,23 +195,15 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
- go-version: 1.17
- - name: Setup Go Environment
- run: |
- echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
+ go-version: 1.18
- name: Cache Go
- id: module-cache
- uses: actions/cache@v3
- with:
- path: /home/runner/go/pkg/mod
- key: go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- - name: Cache Tools
- id: tool-cache
+ id: go-cache
uses: actions/cache@v3
with:
- path: /home/runner/go/bin
- key: tools-${{ runner.os }}-${{ hashFiles('./internal/tools/go.mod', './cmd/mdatagen/go.mod', './cmd/mdatagen/*.go') }}
+ path: |
+ ~/go/bin
+ ~/go/pkg/mod
+ key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- name: Build
env:
GOOS: ${{matrix.goos}}
diff --git a/.github/workflows/builder-integration-test.yaml b/.github/workflows/builder-integration-test.yaml
index 0d24e2c00c6..1a512410fbd 100644
--- a/.github/workflows/builder-integration-test.yaml
+++ b/.github/workflows/builder-integration-test.yaml
@@ -23,16 +23,13 @@ on:
jobs:
integration-test:
name: Integration test
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
steps:
-
- - name: Set up Go
- uses: actions/setup-go@v3
- with:
- go-version: 1.17
-
- - name: Check out code into the Go module directory
- uses: actions/checkout@v3
-
- - name: Test
- run: cd ./cmd/builder && ./test/test.sh
+ - name: Checkout Repo
+ uses: actions/checkout@v3
+ - name: Setup Go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.18
+ - name: Test
+ run: cd ./cmd/builder && ./test/test.sh
diff --git a/.github/workflows/builder-release.yaml b/.github/workflows/builder-release.yaml
index 73bd01a79e5..b29297c3d79 100644
--- a/.github/workflows/builder-release.yaml
+++ b/.github/workflows/builder-release.yaml
@@ -7,21 +7,18 @@ on:
jobs:
goreleaser:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
steps:
- -
- name: Checkout
+ - name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- -
- name: Set up Go
+ - name: Setup Go
uses: actions/setup-go@v3
with:
- go-version: 1.17
- -
- name: Run GoReleaser
- uses: goreleaser/goreleaser-action@v2
+ go-version: 1.18
+ - name: Run GoReleaser
+ uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser-pro
version: latest
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 396ccbc5b28..40be552d432 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -15,16 +15,16 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
- go-version: 1.17
+ go-version: 1.18
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v1
+ uses: github/codeql-action/init@v2
with:
languages: go
- name: Autobuild
- uses: github/codeql-action/autobuild@v1
+ uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/contrib-tests.yml b/.github/workflows/contrib-tests.yml
index e4593b72dbf..c82dcbf0d7e 100644
--- a/.github/workflows/contrib-tests.yml
+++ b/.github/workflows/contrib-tests.yml
@@ -9,13 +9,13 @@ on:
jobs:
contrib_tests:
runs-on: ubuntu-latest
- container:
- image: cimg/go:1.17
steps:
- - name: Setup Permissions
- run: sudo chmod -R 777 $GITHUB_WORKSPACE /github /__w/_temp
- name: Checkout Repo
uses: actions/checkout@v3
+ - name: Setup Go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.18
- name: Run Contrib Tests
run: |
contrib_path=/tmp/opentelemetry-collector-contrib
diff --git a/.golangci.yml b/.golangci.yml
index 3325676cef6..f165e948e12 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -38,6 +38,10 @@ run:
# the dependency descriptions in go.mod.
modules-download-mode: readonly
+ # Allow multiple parallel golangci-lint instances running.
+ # If false (default) - golangci-lint acquires file lock on start.
+ allow-parallel-runners: true
+
# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
@@ -106,6 +110,7 @@ linters:
enable:
- depguard
- errcheck
+ - errorlint
- exportloopref
- gocritic
- gofmt
@@ -116,16 +121,12 @@ linters:
- revive
- staticcheck
- unconvert
+ - unused
- unparam
issues:
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
- # Exclude some linters from running on tests files.
- - path: otlp_test.go
- linters:
- # See https://github.com/golangci/golangci-lint/issues/537#issuecomment-545170007
- - structcheck
- text: "G404:"
linters:
- gosec
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 60084a50bd1..01fb9b316a2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,63 @@
### π§° Bug fixes π§°
+## v0.52.0 Beta
+
+### π Breaking changes π
+
+- Remove `configunmarshaler.Unmarshaler` interface, per deprecation comment (#5348)
+- Remove deprecated pdata funcs/structs from v0.50.0 (#5345)
+- Remove deprecated pdata getters and setters of primitive slice values: `Value.BytesVal`, `Value.SetBytesVal`,
+ `Value.UpdateBytes`, `Value.InsertBytes`, `Value.UpsertBytes`, `
-
-
-
-
+
+
+
+
+
+
-
+
+
-
+
+
@@ -59,37 +63,35 @@ Objectives:
- Extensible: Customizable without touching the core code.
- Unified: Single codebase, deployable as an agent or collector with support for traces, metrics and logs.
-## Status
+## Stability levels
The collector components and implementation are in different stages of stability, and usually split between
-functionality and configuration:
-
-| Signal | Component | Status |
-|--------|-----------|--------|
-|Traces | OTLP protocol | Stable |
-|| OTLP receiver functionality | Stable |
-|| OTLP receiver configuration | Stable |
-|| OTLP exporter functionality | Stable |
-|| OTLP exporter configuration | Stable |
-|Metrics | OTLP protocol | Stable |
-|| OTLP receiver functionality | Stable |
-|| OTLP receiver configuration | Stable |
-|| OTLP exporter functionality | Stable |
-|| OTLP exporter configuration | Stable |
-|Logs | OTLP protocol | Beta |
-|| OTLP receiver functionality | Beta |
-|| OTLP receiver configuration | Beta |
-|| OTLP exporter functionality | Beta |
-|| OTLP exporter configuration | Beta |
-|Common| Logging exporter | Unstable |
-|| Batch processor functionality | Beta |
-|| Batch processor configuration | Beta |
-|| MemoryLimiter processor functionality | Beta |
-|| MemoryLimiter processor configuration | Beta |
-
-We follow the production maturity level defined [here](https://github.com/open-telemetry/community/blob/47813530864b9fe5a5146f466a58bd2bb94edc72/maturity-matrix.yaml#L31).
-
-### Compatibility
+functionality and configuration. The status for each component is available in the README file for the component. While
+we intend to provide high-quality components as part of this repository, we acknowledge that not all of them are ready
+for prime time. As such, each component should list its current stability level for each telemetry signal, according to
+the following definitions:
+
+### In development
+
+Not all pieces of the component are in place yet and it might not be available as part of any distributions yet. Bugs and performance issues should be reported, but it is likely that the component owners might not give them much attention. Your feedback is still desired, especially when it comes to the user-experience (configuration options, component observability, technical implementation details, ...). Configuration options might break often depending on how things evolve. The component should not be used in production.
+
+### Alpha
+
+The component is ready to be used for limited non-critical workloads and the authors of this component would welcome your feedback. Bugs and performance problems should be reported, but component owners might not work on them right away. The configuration options might change often without backwards compatibility guarantees.
+
+### Beta
+
+Same as Alpha, but the configuration options are deemed stable. While there might be breaking changes between releases, component owners should try to minimize them. A component at this stage is expected to have had exposure to non-critical production workloads already during its **Alpha** phase, making it suitable for broader usage.
+
+### Stable
+
+The component is ready for general availability. Bugs and performance problems should be reported and there's an expectation that the component owners will work on them. Breaking changes, including configuration options and the component's output are not expected to happen without prior notice, unless under special circumstances.
+
+### Deprecated
+
+The component is planned to be removed in a future version and no further support will be provided. Note that new issues will likely not be worked on. When a component enters "deprecated" mode, it is expected to exist for at least two minor releases. See the component's readme file for more details on when a component will cease to exist.
+
+## Compatibility
When used as a library, the OpenTelemetry Collector attempts to track the currently supported versions of Go, as [defined by the Go team](https://go.dev/doc/devel/release#policy).
Removing support for an unsupported Go version is not considered a breaking change.
diff --git a/VERSIONING.md b/VERSIONING.md
index f1d04d26ffe..08e1b9ca547 100644
--- a/VERSIONING.md
+++ b/VERSIONING.md
@@ -102,3 +102,17 @@ is designed so that the following goal can be achieved:
* Contrib modules will be kept up to date with this project's releases.
* GitHub releases will be made for all releases.
* Go modules will be made available at Go package mirrors.
+* Stability guaranties of modules versioned as `v1` or higher are aligned with [Go 1 compatibility
+ promise](https://go.dev/doc/go1compat). OpenTelemetry authors reserve the right to introduce API changes breaking
+ compatibility between minor versions in the following scenarios:
+ * **Struct literals.** It may be necessary to add new fields to exported structs in the API. Code that uses unkeyed
+ struct literals (such as pkg.T{3, "x"}) to create values of these types would fail to compile after such a change.
+ However, code that uses keyed literals (pkg.T{A: 3, B: "x"}) will continue to compile. We therefore recommend
+ using OpenTelemetry collector structs with the keyed literals only.
+ * **Methods.** As with struct fields, it may be necessary to add methods to types. Under some circumstances,
+ such as when the type is embedded in a struct along with another type, the addition of the new method may
+ break the struct by creating a conflict with an existing method of the other embedded type. We cannot protect
+ against this rare case and do not guarantee compatibility in such scenarios.
+ * **Dot imports.** If a program imports a package using `import .`, additional names defined in the imported package
+ in future releases may conflict with other names defined in the program. We do not recommend the use of
+ `import .` with OpenTelemetry Collector modules.
diff --git a/cmd/builder/internal/builder/config.go b/cmd/builder/internal/builder/config.go
index 07b62e6d5d1..0b7b2b8f457 100644
--- a/cmd/builder/internal/builder/config.go
+++ b/cmd/builder/internal/builder/config.go
@@ -25,7 +25,7 @@ import (
"go.uber.org/zap"
)
-const defaultOtelColVersion = "0.50.0"
+const defaultOtelColVersion = "0.52.0"
// ErrInvalidGoMod indicates an invalid gomod
var ErrInvalidGoMod = errors.New("invalid gomod specification for module")
@@ -147,7 +147,7 @@ func parseModules(mods []Module) ([]Module, error) {
if strings.HasPrefix(mod.Path, "./") {
path, err := os.Getwd()
if err != nil {
- return mods, fmt.Errorf("module has a relative Path element, but we couldn't get the current working dir: %v", err)
+ return mods, fmt.Errorf("module has a relative Path element, but we couldn't get the current working dir: %w", err)
}
mod.Path = fmt.Sprintf("%s/%s", path, mod.Path[2:])
diff --git a/cmd/builder/internal/builder/config_test.go b/cmd/builder/internal/builder/config_test.go
index a33a72de824..dc3fcf6f228 100644
--- a/cmd/builder/internal/builder/config_test.go
+++ b/cmd/builder/internal/builder/config_test.go
@@ -58,7 +58,6 @@ func TestRelativePath(t *testing.T) {
// verify
cwd, err := os.Getwd()
require.NoError(t, err)
- assert.True(t, strings.HasPrefix(cfg.Extensions[0].Path, "/"))
assert.True(t, strings.HasPrefix(cfg.Extensions[0].Path, cwd))
}
diff --git a/cmd/builder/internal/builder/main_test.go b/cmd/builder/internal/builder/main_test.go
index c637438d763..ffc25abd6fa 100644
--- a/cmd/builder/internal/builder/main_test.go
+++ b/cmd/builder/internal/builder/main_test.go
@@ -18,6 +18,7 @@ import (
"io/ioutil"
"log"
"os"
+ "runtime"
"testing"
"github.com/stretchr/testify/assert"
@@ -37,14 +38,17 @@ func TestGenerateInvalidCollectorVersion(t *testing.T) {
func TestGenerateInvalidOutputPath(t *testing.T) {
cfg := NewDefaultConfig()
- cfg.Distribution.OutputPath = "/invalid"
+ cfg.Distribution.OutputPath = "/:invalid"
err := Generate(cfg)
require.Error(t, err)
require.Contains(t, err.Error(), "failed to create output path")
}
func TestGenerateAndCompileDefault(t *testing.T) {
- dir, err := ioutil.TempDir("/tmp", "default")
+ if runtime.GOOS == "windows" {
+ t.Skip("skipping the test on Windows, see https://github.com/open-telemetry/opentelemetry-collector/issues/5403")
+ }
+ dir, err := ioutil.TempDir("", "default")
if err != nil {
log.Fatal(err)
}
diff --git a/cmd/otelcorecol/builder-config.yaml b/cmd/otelcorecol/builder-config.yaml
index 47b049f9eb6..951d819619c 100644
--- a/cmd/otelcorecol/builder-config.yaml
+++ b/cmd/otelcorecol/builder-config.yaml
@@ -2,29 +2,29 @@ dist:
module: go.opentelemetry.io/collector/cmd/otelcorecol
name: otelcorecol
description: Local OpenTelemetry Collector binary, testing only.
- version: 0.50.0-dev
- otelcol_version: 0.50.0
+ version: 0.52.0-dev
+ otelcol_version: 0.52.0
receivers:
- import: go.opentelemetry.io/collector/receiver/otlpreceiver
- gomod: go.opentelemetry.io/collector v0.50.0
+ gomod: go.opentelemetry.io/collector v0.52.0
exporters:
- import: go.opentelemetry.io/collector/exporter/loggingexporter
- gomod: go.opentelemetry.io/collector v0.50.0
+ gomod: go.opentelemetry.io/collector v0.52.0
- import: go.opentelemetry.io/collector/exporter/otlpexporter
- gomod: go.opentelemetry.io/collector v0.50.0
+ gomod: go.opentelemetry.io/collector v0.52.0
- import: go.opentelemetry.io/collector/exporter/otlphttpexporter
- gomod: go.opentelemetry.io/collector v0.50.0
+ gomod: go.opentelemetry.io/collector v0.52.0
extensions:
- import: go.opentelemetry.io/collector/extension/ballastextension
- gomod: go.opentelemetry.io/collector v0.50.0
+ gomod: go.opentelemetry.io/collector v0.52.0
- import: go.opentelemetry.io/collector/extension/zpagesextension
- gomod: go.opentelemetry.io/collector v0.50.0
+ gomod: go.opentelemetry.io/collector v0.52.0
processors:
- import: go.opentelemetry.io/collector/processor/batchprocessor
- gomod: go.opentelemetry.io/collector v0.50.0
+ gomod: go.opentelemetry.io/collector v0.52.0
- import: go.opentelemetry.io/collector/processor/memorylimiterprocessor
- gomod: go.opentelemetry.io/collector v0.50.0
+ gomod: go.opentelemetry.io/collector v0.52.0
replaces:
- go.opentelemetry.io/collector => ../../
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 0be9893b08c..34c6b5d609b 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -6,7 +6,7 @@ go 1.17
require (
github.com/stretchr/testify v1.7.1
- go.opentelemetry.io/collector v0.50.0
+ go.opentelemetry.io/collector v0.52.0
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27
)
@@ -28,7 +28,8 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
- github.com/klauspost/compress v1.15.1 // indirect
+ github.com/json-iterator/go v1.1.12 // indirect
+ github.com/klauspost/compress v1.15.4 // indirect
github.com/knadh/koanf v1.4.1 // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/magiconair/properties v1.8.6 // indirect
@@ -36,6 +37,8 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
+ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
+ github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mostynb/go-grpc-compression v1.1.16 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
@@ -45,31 +48,31 @@ require (
github.com/prometheus/procfs v0.7.3 // indirect
github.com/prometheus/statsd_exporter v0.21.0 // indirect
github.com/rs/cors v1.8.2 // indirect
- github.com/shirou/gopsutil/v3 v3.22.3 // indirect
+ github.com/shirou/gopsutil/v3 v3.22.4 // indirect
github.com/spf13/cobra v1.4.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/tklauser/go-sysconf v0.3.10 // indirect
github.com/tklauser/numcpus v0.4.0 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
go.opencensus.io v0.23.0 // indirect
- go.opentelemetry.io/collector/pdata v0.50.0 // indirect
- go.opentelemetry.io/collector/semconv v0.50.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.31.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0 // indirect
- go.opentelemetry.io/contrib/zpages v0.31.0 // indirect
- go.opentelemetry.io/otel v1.6.3 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.29.0 // indirect
- go.opentelemetry.io/otel/metric v0.29.0 // indirect
- go.opentelemetry.io/otel/sdk v1.6.3 // indirect
- go.opentelemetry.io/otel/sdk/metric v0.29.0 // indirect
- go.opentelemetry.io/otel/trace v1.6.3 // indirect
+ go.opentelemetry.io/collector/pdata v0.52.0 // indirect
+ go.opentelemetry.io/collector/semconv v0.52.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.32.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0 // indirect
+ go.opentelemetry.io/contrib/zpages v0.32.0 // indirect
+ go.opentelemetry.io/otel v1.7.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.30.0 // indirect
+ go.opentelemetry.io/otel/metric v0.30.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.7.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v0.30.0 // indirect
+ go.opentelemetry.io/otel/trace v1.7.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.21.0 // indirect
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa // indirect
- google.golang.org/grpc v1.46.0 // indirect
+ google.golang.org/grpc v1.46.2 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index a3bcacc303f..4afa0ba6035 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -231,6 +231,7 @@ github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
+github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
@@ -239,8 +240,8 @@ github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/klauspost/compress v1.14.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
-github.com/klauspost/compress v1.15.1 h1:y9FcTHGyrebwfP0ZZqFiaxTaiDnUrGkJkI+f583BL1A=
-github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
+github.com/klauspost/compress v1.15.4 h1:1kn4/7MepF/CHmYub99/nNX8az0IJjfSOU/jbnTVfqQ=
+github.com/klauspost/compress v1.15.4/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU=
github.com/knadh/koanf v1.4.1 h1:Z0VGW/uo8NJmjd+L1Dc3S5frq6c62w5xQ9Yf4Mg3wFQ=
github.com/knadh/koanf v1.4.1/go.mod h1:1cfH5223ZeZUOs8FU2UdTmaNfHpqgtjV0+NHjRO43gs=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
@@ -278,9 +279,11 @@ github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx
github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ=
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/mostynb/go-grpc-compression v1.1.16 h1:D9tGUINmcII049pxOj9dl32Fzhp26TrDVQXECoKJqQg=
github.com/mostynb/go-grpc-compression v1.1.16/go.mod h1:xxa6UoYynYS2h+5HB/Hglu81iYAp87ARaNmhhwi0s1s=
@@ -344,8 +347,8 @@ github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD
github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc=
github.com/schollz/progressbar/v2 v2.13.2/go.mod h1:6YZjqdthH6SCZKv2rqGryrxPtfmRB/DWZxSMfCXPyD8=
-github.com/shirou/gopsutil/v3 v3.22.3 h1:UebRzEomgMpv61e3hgD1tGooqX5trFbdU/ehphbHd00=
-github.com/shirou/gopsutil/v3 v3.22.3/go.mod h1:D01hZJ4pVHPpCTZ3m3T2+wDF2YAGfd+H4ifUguaQzHM=
+github.com/shirou/gopsutil/v3 v3.22.4 h1:srAQaiX6jX/cYL6q29aE0m8lOskT9CurZ9N61YR3yoI=
+github.com/shirou/gopsutil/v3 v3.22.4/go.mod h1:D01hZJ4pVHPpCTZ3m3T2+wDF2YAGfd+H4ifUguaQzHM=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
@@ -382,30 +385,24 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M=
go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.31.0 h1:li8u9OSMvLau7rMs8bmiL82OazG6MAkwPz2i6eS8TBQ=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.31.0/go.mod h1:SY9qHHUES6W3oZnO1H2W8NvsSovIoXRg/A1AH9px8+I=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0 h1:woM+Mb4d0A+Dxa3rYPenSN5ZeS9qHUvE8rlObiLRXTY=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0/go.mod h1:PFmBsWbldL1kiWZk9+0LBZz2brhByaGsvp6pRICMlPE=
-go.opentelemetry.io/contrib/zpages v0.31.0 h1:P75HGsEZp/TSdY0QSknzI9ubo7DU3i5MPGHM7h9IwL4=
-go.opentelemetry.io/contrib/zpages v0.31.0/go.mod h1:CAB55C1K7YhinQfNNIdNLgJJ+dVRlb6zQpbGQjeIDf8=
-go.opentelemetry.io/otel v1.6.0/go.mod h1:bfJD2DZVw0LBxghOTlgnlI0CV3hLDu9XF/QKOUXMTQQ=
-go.opentelemetry.io/otel v1.6.1/go.mod h1:blzUabWHkX6LJewxvadmzafgh/wnvBSDBdOuwkAtrWQ=
-go.opentelemetry.io/otel v1.6.3 h1:FLOfo8f9JzFVFVyU+MSRJc2HdEAXQgm7pIv2uFKRSZE=
-go.opentelemetry.io/otel v1.6.3/go.mod h1:7BgNga5fNlF/iZjG06hM3yofffp0ofKCDwSXx1GC4dI=
-go.opentelemetry.io/otel/exporters/prometheus v0.29.0 h1:jOrFr8pCPj52GCPNq3qd69SEug3QmqDJTzbrefUxkpw=
-go.opentelemetry.io/otel/exporters/prometheus v0.29.0/go.mod h1:Er2VVJQZbHysogooLNchdZ3MLYoI7+d15mHmrRlRJCU=
-go.opentelemetry.io/otel/metric v0.28.0/go.mod h1:TrzsfQAmQaB1PDcdhBauLMk7nyyg9hm+GoQq/ekE9Iw=
-go.opentelemetry.io/otel/metric v0.29.0 h1:7unM/I13Dbc1VHw8lTPQ7zfNIgkhcb8BZhujXOS4jKc=
-go.opentelemetry.io/otel/metric v0.29.0/go.mod h1:HahKFp1OC1RNTsuO/HNMBHHJR+dmHZ7wLARRgGDwjLQ=
-go.opentelemetry.io/otel/sdk v1.6.1/go.mod h1:IVYrddmFZ+eJqu2k38qD3WezFR2pymCzm8tdxyh3R4E=
-go.opentelemetry.io/otel/sdk v1.6.3 h1:prSHYdwCQOX5DrsEzxowH3nLhoAzEBdZhvrR79scfLs=
-go.opentelemetry.io/otel/sdk v1.6.3/go.mod h1:A4iWF7HTXa+GWL/AaqESz28VuSBIcZ+0CV+IzJ5NMiQ=
-go.opentelemetry.io/otel/sdk/metric v0.29.0 h1:OCEp2igPFXQrGxSR/nwd/bDjkPlPlOVjIULA/ob0dNw=
-go.opentelemetry.io/otel/sdk/metric v0.29.0/go.mod h1:IFkFNKI8Gq8zBdqOKdODCL9+LInBZLXaGpqSIKphNuU=
-go.opentelemetry.io/otel/trace v1.6.0/go.mod h1:qs7BrU5cZ8dXQHBGxHMOxwME/27YH2qEp4/+tZLLwJE=
-go.opentelemetry.io/otel/trace v1.6.1/go.mod h1:RkFRM1m0puWIq10oxImnGEduNBzxiN7TXluRBtE+5j0=
-go.opentelemetry.io/otel/trace v1.6.3 h1:IqN4L+5b0mPNjdXIiZ90Ni4Bl5BRkDQywePLWemd9bc=
-go.opentelemetry.io/otel/trace v1.6.3/go.mod h1:GNJQusJlUgZl9/TQBPKU/Y/ty+0iVB5fjhKeJGZPGFs=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.32.0 h1:WenoaOMNP71oq3KkMZ/jnxI9xU/JSCLw8yZILSI2lfU=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.32.0/go.mod h1:J0dBVrt7dPS/lKJyQoW0xzQiUr4r2Ik1VwPjAUWnofI=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0 h1:mac9BKRqwaX6zxHPDe3pvmWpwuuIM0vuXv2juCnQevE=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0/go.mod h1:5eCOqeGphOyz6TsY3ZDNjE33SM/TFAK3RGuCL2naTgY=
+go.opentelemetry.io/contrib/zpages v0.32.0 h1:AVKTx5ppWDaem7A61HFsO1T3CK/t6kFRQoZQMj0/TW4=
+go.opentelemetry.io/contrib/zpages v0.32.0/go.mod h1:Jx75I61RDcZU3d/1WrP6UdINlzGGLAwFNdQ3bCTb+qw=
+go.opentelemetry.io/otel v1.7.0 h1:Z2lA3Tdch0iDcrhJXDIlC94XE+bxok1F9B+4Lz/lGsM=
+go.opentelemetry.io/otel v1.7.0/go.mod h1:5BdUoMIz5WEs0vt0CUEMtSSaTSHBBVwrhnz7+nrD5xk=
+go.opentelemetry.io/otel/exporters/prometheus v0.30.0 h1:YXo5ZY5nofaEYMCMTTMaRH2cLDZB8+0UGuk5RwMfIo0=
+go.opentelemetry.io/otel/exporters/prometheus v0.30.0/go.mod h1:qN5feW+0/d661KDtJuATEmHtw5bKBK7NSvNEP927zSs=
+go.opentelemetry.io/otel/metric v0.30.0 h1:Hs8eQZ8aQgs0U49diZoaS6Uaxw3+bBE3lcMUKBFIk3c=
+go.opentelemetry.io/otel/metric v0.30.0/go.mod h1:/ShZ7+TS4dHzDFmfi1kSXMhMVubNoP0oIaBp70J6UXU=
+go.opentelemetry.io/otel/sdk v1.7.0 h1:4OmStpcKVOfvDOgCt7UriAPtKolwIhxpnSNI/yK+1B0=
+go.opentelemetry.io/otel/sdk v1.7.0/go.mod h1:uTEOTwaqIVuTGiJN7ii13Ibp75wJmYUDe374q6cZwUU=
+go.opentelemetry.io/otel/sdk/metric v0.30.0 h1:XTqQ4y3erR2Oj8xSAOL5ovO5011ch2ELg51z4fVkpME=
+go.opentelemetry.io/otel/sdk/metric v0.30.0/go.mod h1:8AKFRi5HyvTR0RRty3paN1aMC9HMT+NzcEhw/BLkLX8=
+go.opentelemetry.io/otel/trace v1.7.0 h1:O37Iogk1lEkMRXewVtZ1BBTVn5JEp8GrJvP92bJqC6o=
+go.opentelemetry.io/otel/trace v1.7.0/go.mod h1:fzLSB9nqR2eXzxPXb2JW9IKE+ScyXA48yyE4TNvoHqU=
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE=
@@ -699,9 +696,9 @@ google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv
google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
-google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ=
-google.golang.org/grpc v1.46.0 h1:oCjezcn6g6A75TGoKYBPgKmVBLexhYLM6MebdrPApP8=
google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk=
+google.golang.org/grpc v1.46.2 h1:u+MLGgVf7vRdjEYZ8wDFhAVNmhkbJ5hmrA1LMWK1CAQ=
+google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
diff --git a/cmd/otelcorecol/main.go b/cmd/otelcorecol/main.go
index 90abf37eccc..74073683180 100644
--- a/cmd/otelcorecol/main.go
+++ b/cmd/otelcorecol/main.go
@@ -21,7 +21,7 @@ func main() {
info := component.BuildInfo{
Command: "otelcorecol",
Description: "Local OpenTelemetry Collector binary, testing only.",
- Version: "0.50.0-dev",
+ Version: "0.52.0-dev",
}
if err := run(service.CollectorSettings{BuildInfo: info, Factories: factories}); err != nil {
diff --git a/component/component.go b/component/component.go
index 210becf4b74..b8b206089eb 100644
--- a/component/component.go
+++ b/component/component.go
@@ -16,10 +16,21 @@ package component // import "go.opentelemetry.io/collector/component"
import (
"context"
+ "errors"
"go.opentelemetry.io/collector/config"
)
+var (
+ // ErrNilNextConsumer can be returned by receiver, or processor Start factory funcs that create the Component if the
+ // expected next Consumer is nil.
+ ErrNilNextConsumer = errors.New("nil next Consumer")
+
+ // ErrDataTypeIsNotSupported can be returned by receiver, exporter or processor factory funcs that create the
+ // Component if the particular telemetry data type is not supported by the receiver, exporter or processor.
+ ErrDataTypeIsNotSupported = errors.New("telemetry type is not supported")
+)
+
// Component is either a receiver, exporter, processor, or an extension.
//
// A component's lifecycle has the following phases:
diff --git a/component/componenterror/errors.go b/component/componenterror/errors.go
index 07d0c3bc398..0005ae11236 100644
--- a/component/componenterror/errors.go
+++ b/component/componenterror/errors.go
@@ -15,15 +15,13 @@
package componenterror // import "go.opentelemetry.io/collector/component/componenterror"
import (
- "errors"
+ "go.opentelemetry.io/collector/component"
)
var (
- // ErrNilNextConsumer indicates an error on nil next consumer.
- ErrNilNextConsumer = errors.New("nil nextConsumer")
+ // Deprecated: [v0.52.0] use component.ErrNilNextConsumer
+ ErrNilNextConsumer = component.ErrNilNextConsumer
- // ErrDataTypeIsNotSupported can be returned by receiver, exporter or processor
- // factory methods that create the entity if the particular telemetry
- // data type is not supported by the receiver, exporter or processor.
- ErrDataTypeIsNotSupported = errors.New("telemetry type is not supported")
+ // Deprecated: [v0.52.0] use component.ErrDataTypeIsNotSupported
+ ErrDataTypeIsNotSupported = component.ErrDataTypeIsNotSupported
)
diff --git a/component/componenttest/shutdown_verifier.go b/component/componenttest/shutdown_verifier.go
index d2ce1a6ef21..51eaa63d706 100644
--- a/component/componenttest/shutdown_verifier.go
+++ b/component/componenttest/shutdown_verifier.go
@@ -16,13 +16,13 @@ package componenttest // import "go.opentelemetry.io/collector/component/compone
import (
"context"
+ "errors"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.opentelemetry.io/collector/component"
- "go.opentelemetry.io/collector/component/componenterror"
"go.opentelemetry.io/collector/config"
"go.opentelemetry.io/collector/consumer/consumertest"
"go.opentelemetry.io/collector/internal/testdata"
@@ -38,7 +38,7 @@ func verifyTracesProcessorDoesntProduceAfterShutdown(t *testing.T, factory compo
nextSink,
)
if err != nil {
- if err == componenterror.ErrDataTypeIsNotSupported {
+ if errors.Is(err, component.ErrDataTypeIsNotSupported) {
return
}
require.NoError(t, err)
diff --git a/component/exporter.go b/component/exporter.go
index 61c118bc9bb..86836804080 100644
--- a/component/exporter.go
+++ b/component/exporter.go
@@ -17,7 +17,6 @@ package component // import "go.opentelemetry.io/collector/component"
import (
"context"
- "go.opentelemetry.io/collector/component/componenterror"
"go.opentelemetry.io/collector/config"
"go.opentelemetry.io/collector/consumer"
)
@@ -102,7 +101,7 @@ type CreateTracesExporterFunc func(context.Context, ExporterCreateSettings, conf
// CreateTracesExporter implements ExporterFactory.CreateTracesExporter().
func (f CreateTracesExporterFunc) CreateTracesExporter(ctx context.Context, set ExporterCreateSettings, cfg config.Exporter) (TracesExporter, error) {
if f == nil {
- return nil, componenterror.ErrDataTypeIsNotSupported
+ return nil, ErrDataTypeIsNotSupported
}
return f(ctx, set, cfg)
}
@@ -113,7 +112,7 @@ type CreateMetricsExporterFunc func(context.Context, ExporterCreateSettings, con
// CreateMetricsExporter implements ExporterFactory.CreateMetricsExporter().
func (f CreateMetricsExporterFunc) CreateMetricsExporter(ctx context.Context, set ExporterCreateSettings, cfg config.Exporter) (MetricsExporter, error) {
if f == nil {
- return nil, componenterror.ErrDataTypeIsNotSupported
+ return nil, ErrDataTypeIsNotSupported
}
return f(ctx, set, cfg)
}
@@ -124,7 +123,7 @@ type CreateLogsExporterFunc func(context.Context, ExporterCreateSettings, config
// CreateLogsExporter implements ExporterFactory.CreateLogsExporter().
func (f CreateLogsExporterFunc) CreateLogsExporter(ctx context.Context, set ExporterCreateSettings, cfg config.Exporter) (LogsExporter, error) {
if f == nil {
- return nil, componenterror.ErrDataTypeIsNotSupported
+ return nil, ErrDataTypeIsNotSupported
}
return f(ctx, set, cfg)
}
diff --git a/component/processor.go b/component/processor.go
index f31d1b2ebcf..d3f9cd1a365 100644
--- a/component/processor.go
+++ b/component/processor.go
@@ -17,7 +17,6 @@ package component // import "go.opentelemetry.io/collector/component"
import (
"context"
- "go.opentelemetry.io/collector/component/componenterror"
"go.opentelemetry.io/collector/config"
"go.opentelemetry.io/collector/consumer"
)
@@ -122,7 +121,7 @@ func (f CreateTracesProcessorFunc) CreateTracesProcessor(
cfg config.Processor,
nextConsumer consumer.Traces) (TracesProcessor, error) {
if f == nil {
- return nil, componenterror.ErrDataTypeIsNotSupported
+ return nil, ErrDataTypeIsNotSupported
}
return f(ctx, set, cfg, nextConsumer)
}
@@ -138,7 +137,7 @@ func (f CreateMetricsProcessorFunc) CreateMetricsProcessor(
nextConsumer consumer.Metrics,
) (MetricsProcessor, error) {
if f == nil {
- return nil, componenterror.ErrDataTypeIsNotSupported
+ return nil, ErrDataTypeIsNotSupported
}
return f(ctx, set, cfg, nextConsumer)
}
@@ -154,7 +153,7 @@ func (f CreateLogsProcessorFunc) CreateLogsProcessor(
nextConsumer consumer.Logs,
) (LogsProcessor, error) {
if f == nil {
- return nil, componenterror.ErrDataTypeIsNotSupported
+ return nil, ErrDataTypeIsNotSupported
}
return f(ctx, set, cfg, nextConsumer)
}
diff --git a/component/receiver.go b/component/receiver.go
index 58f47ce4a08..825c7b2a6eb 100644
--- a/component/receiver.go
+++ b/component/receiver.go
@@ -17,7 +17,6 @@ package component // import "go.opentelemetry.io/collector/component"
import (
"context"
- "go.opentelemetry.io/collector/component/componenterror"
"go.opentelemetry.io/collector/config"
"go.opentelemetry.io/collector/consumer"
)
@@ -154,7 +153,7 @@ func (f CreateTracesReceiverFunc) CreateTracesReceiver(
cfg config.Receiver,
nextConsumer consumer.Traces) (TracesReceiver, error) {
if f == nil {
- return nil, componenterror.ErrDataTypeIsNotSupported
+ return nil, ErrDataTypeIsNotSupported
}
return f(ctx, set, cfg, nextConsumer)
}
@@ -170,7 +169,7 @@ func (f CreateMetricsReceiverFunc) CreateMetricsReceiver(
nextConsumer consumer.Metrics,
) (MetricsReceiver, error) {
if f == nil {
- return nil, componenterror.ErrDataTypeIsNotSupported
+ return nil, ErrDataTypeIsNotSupported
}
return f(ctx, set, cfg, nextConsumer)
}
@@ -186,7 +185,7 @@ func (f CreateLogsReceiverFunc) CreateLogsReceiver(
nextConsumer consumer.Logs,
) (LogsReceiver, error) {
if f == nil {
- return nil, componenterror.ErrDataTypeIsNotSupported
+ return nil, ErrDataTypeIsNotSupported
}
return f(ctx, set, cfg, nextConsumer)
}
diff --git a/config/README.md b/config/README.md
new file mode 100644
index 00000000000..b2d94829160
--- /dev/null
+++ b/config/README.md
@@ -0,0 +1,89 @@
+# High Level Design
+
+This document is work in progress, some concepts are not yet available
+(e.g. MapResolver is a private concept in the service for the moment).
+
+## Map
+
+The [Map](configmap.go) represents the raw configuration for a service (e.g. OpenTelemetry Collector).
+
+## MapProvider
+
+The [MapProvider](mapprovider.go) provides configuration, and allows to watch/monitor for changes. Any `MapProvider`
+has a `
- //
- // Take care not to use the "invoked ARN" directly but replace any
- // alias suffix with the resolved function version, as the same runtime instance
- // may be invokable with multiple
- // different aliases.
- //
- // On some providers, it may not be possible to determine the full ID at startup,
- // which is why this field cannot be made required. For example, on AWS the
- // account ID
- // part of the ARN is not available without calling another AWS API
- // which may be deemed too slow for a short-running lambda function.
- // As an alternative, consider setting faas.id as a span attribute instead.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSID = "faas.id"
- // The immutable version of the function being executed.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '26', 'pinkfroid-00002'
- // Note: Depending on the cloud provider and platform, use:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSVersion = "faas.version"
- // The execution environment ID as a string, that will be potentially reused for
- // other invocations to the same function/function version.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de'
- // Note:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInstance = "faas.instance"
- // The amount of memory available to the serverless function in MiB.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 128
- // Note: It's recommended to set this attribute since e.g. too little memory can
- // easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
- // the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
- // information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSMaxMemory = "faas.max_memory"
-)
-
-// A host is defined as a general computing instance.
-const (
- // Unique host ID. For Cloud, this must be the instance_id assigned by the cloud
- // provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostID = "host.id"
- // Name of the host. On Unix systems, it may contain what the hostname command
- // returns, or the fully qualified hostname, or another name specified by the
- // user.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostName = "host.name"
- // Type of host. For Cloud, this must be the machine type.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'n1-standard-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostType = "host.type"
- // The CPU architecture the host system is running on.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArch = "host.arch"
- // Name of the VM image or OS install the host was instantiated from.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageName = "host.image.name"
- // VM image ID. For Cloud, this value is from the provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ami-07b06b442921831e5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageID = "host.image.id"
- // The version string of the VM image as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageVersion = "host.image.version"
-)
-
-const (
- // AMD64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchAMD64 = "amd64"
- // ARM32
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM32 = "arm32"
- // ARM64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM64 = "arm64"
- // Itanium
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchIA64 = "ia64"
- // 32-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC32 = "ppc32"
- // 64-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC64 = "ppc64"
- // 32-bit x86
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchX86 = "x86"
-)
-
-// A Kubernetes Cluster.
-const (
- // The name of the cluster.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-cluster'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SClusterName = "k8s.cluster.name"
-)
-
-// A Kubernetes Node object.
-const (
- // The name of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'node-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeName = "k8s.node.name"
- // The UID of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeUID = "k8s.node.uid"
-)
-
-// A Kubernetes Namespace.
-const (
- // The name of the namespace that the pod is running in.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'default'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNamespaceName = "k8s.namespace.name"
-)
-
-// A Kubernetes Pod object.
-const (
- // The UID of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodUID = "k8s.pod.uid"
- // The name of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-pod-autoconf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodName = "k8s.pod.name"
-)
-
-// A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
-const (
- // The name of the Container in a Pod template.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'redis'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SContainerName = "k8s.container.name"
-)
-
-// A Kubernetes ReplicaSet object.
-const (
- // The UID of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
- // The name of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetName = "k8s.replicaset.name"
-)
-
-// A Kubernetes Deployment object.
-const (
- // The UID of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentUID = "k8s.deployment.uid"
- // The name of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentName = "k8s.deployment.name"
-)
-
-// A Kubernetes StatefulSet object.
-const (
- // The UID of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
- // The name of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetName = "k8s.statefulset.name"
-)
-
-// A Kubernetes DaemonSet object.
-const (
- // The UID of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
- // The name of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetName = "k8s.daemonset.name"
-)
-
-// A Kubernetes Job object.
-const (
- // The UID of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobUID = "k8s.job.uid"
- // The name of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobName = "k8s.job.name"
-)
-
-// A Kubernetes CronJob object.
-const (
- // The UID of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobUID = "k8s.cronjob.uid"
- // The name of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobName = "k8s.cronjob.name"
-)
-
-// The operating system (OS) on which the process represented by this resource is running.
-const (
- // The operating system type.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSType = "os.type"
- // Human readable (not intended to be parsed) OS version information, like e.g.
- // reported by ver or lsb_release -a commands.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSDescription = "os.description"
- // Human readable operating system name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'iOS', 'Android', 'Ubuntu'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSName = "os.name"
- // The version string of the operating system as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.2.1', '18.04.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSVersion = "os.version"
-)
-
-const (
- // Microsoft Windows
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeWindows = "windows"
- // Linux
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeLinux = "linux"
- // Apple Darwin
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDarwin = "darwin"
- // FreeBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeFreeBSD = "freebsd"
- // NetBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeNetBSD = "netbsd"
- // OpenBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeOpenBSD = "openbsd"
- // DragonFly BSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDragonflyBSD = "dragonflybsd"
- // HP-UX (Hewlett Packard Unix)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeHPUX = "hpux"
- // AIX (Advanced Interactive eXecutive)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeAIX = "aix"
- // Oracle Solaris
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeSolaris = "solaris"
- // IBM z/OS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeZOS = "z_os"
-)
-
-// An operating system process.
-const (
- // Process identifier (PID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 1234
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessPID = "process.pid"
- // The name of the process executable. On Linux based systems, can be set to the
- // Name in proc/[pid]/status. On Windows, can be set to the base name of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutableName = "process.executable.name"
- // The full path to the process executable. On Linux based systems, can be set to
- // the target of proc/[pid]/exe. On Windows, can be set to the result of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: '/usr/bin/cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutablePath = "process.executable.path"
- // The command used to launch the process (i.e. the command name). On Linux based
- // systems, can be set to the zeroth string in proc/[pid]/cmdline. On Windows, can
- // be set to the first parameter extracted from GetCommandLineW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommand = "process.command"
- // The full command used to launch the process as a single string representing the
- // full command. On Windows, can be set to the result of GetCommandLineW. Do not
- // set this if you have to assemble it just for monitoring; use
- // process.command_args instead.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandLine = "process.command_line"
- // All the command arguments (including the command/executable itself) as received
- // by the process. On Linux-based systems (and some other Unixoid systems
- // supporting procfs), can be set according to the list of null-delimited strings
- // extracted from proc/[pid]/cmdline. For libc-based executables, this would be
- // the full argv vector passed to main.
- //
- // Type: string[]
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otecol', '--config=config.yaml'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandArgs = "process.command_args"
- // The username of the user that owns the process.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'root'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessOwner = "process.owner"
-)
-
-// The single (language) runtime instance which is monitored.
-const (
- // The name of the runtime of this process. For compiled native binaries, this
- // SHOULD be the name of the compiler.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'OpenJDK Runtime Environment'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeName = "process.runtime.name"
- // The version of the runtime of this process, as returned by the runtime without
- // modification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.0.2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeVersion = "process.runtime.version"
- // An additional description about the runtime of the process, for example a
- // specific vendor customization of the runtime environment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeDescription = "process.runtime.description"
-)
-
-// A service instance.
-const (
- // Logical name of the service.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'shoppingcart'
- // Note: MUST be the same for all instances of horizontally scaled services. If
- // the value was not specified, SDKs MUST fallback to unknown_service:
- // concatenated with process.executable.name, e.g. unknown_service:bash. If
- // process.executable.name is not available, the value MUST be set to
- // unknown_service.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceName = "service.name"
- // A namespace for service.name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Shop'
- // Note: A string value having a meaning that helps to distinguish a group of
- // services, for example the team name that owns a group of services. service.name
- // is expected to be unique within the same namespace. If service.namespace is not
- // specified in the Resource then service.name is expected to be unique for all
- // services that have no explicit namespace defined (so the empty/unspecified
- // namespace is simply one more valid namespace). Zero-length namespace string is
- // assumed equal to unspecified namespace.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceNamespace = "service.namespace"
- // The string ID of the service instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '627cc493-f310-47de-96bd-71410b7dec09'
- // Note: MUST be unique for each instance of the same
- // service.namespace,service.name pair (in other words
- // service.namespace,service.name,service.instance.id triplet MUST be globally
- // unique). The ID helps to distinguish instances of the same service that exist
- // at the same time (e.g. instances of a horizontally scaled service). It is
- // preferable for the ID to be persistent and stay the same for the lifetime of
- // the service instance, however it is acceptable that the ID is ephemeral and
- // changes during important lifetime events for the service (e.g. service
- // restarts). If the service has no inherent unique ID that can be used as the
- // value of this attribute it is recommended to generate a random Version 1 or
- // Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
- // Version 5, see RFC 4122 for more recommendations).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceInstanceID = "service.instance.id"
- // The version string of the service API or implementation.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceVersion = "service.version"
-)
-
-// The telemetry SDK used to capture data recorded by the instrumentation libraries.
-const (
- // The name of the telemetry SDK as defined above.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKName = "telemetry.sdk.name"
- // The language of the telemetry SDK.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
- // The version string of the telemetry SDK.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKVersion = "telemetry.sdk.version"
- // The version string of the auto instrumentation agent, if used.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetryAutoVersion = "telemetry.auto.version"
-)
-
-const (
- // cpp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageCPP = "cpp"
- // dotnet
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageDotnet = "dotnet"
- // erlang
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageErlang = "erlang"
- // go
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageGo = "go"
- // java
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageJava = "java"
- // nodejs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageNodejs = "nodejs"
- // php
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePHP = "php"
- // python
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePython = "python"
- // ruby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageRuby = "ruby"
- // webjs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageWebjs = "webjs"
-)
-
-// Resource describing the packaged software running the application code. Web engines are typically executed using process.runtime.
-const (
- // The name of the web engine.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'WildFly'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineName = "webengine.name"
- // The version of the web engine.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '21.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineVersion = "webengine.version"
- // Additional description of the web engine (e.g. detailed version and edition
- // information).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineDescription = "webengine.description"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetResourceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeCloudProvider,
- AttributeCloudAccountID,
- AttributeCloudRegion,
- AttributeCloudAvailabilityZone,
- AttributeCloudPlatform,
- AttributeAWSECSContainerARN,
- AttributeAWSECSClusterARN,
- AttributeAWSECSLaunchtype,
- AttributeAWSECSTaskARN,
- AttributeAWSECSTaskFamily,
- AttributeAWSECSTaskRevision,
- AttributeAWSEKSClusterARN,
- AttributeAWSLogGroupNames,
- AttributeAWSLogGroupARNs,
- AttributeAWSLogStreamNames,
- AttributeAWSLogStreamARNs,
- AttributeContainerName,
- AttributeContainerID,
- AttributeContainerRuntime,
- AttributeContainerImageName,
- AttributeContainerImageTag,
- AttributeDeploymentEnvironment,
- AttributeDeviceID,
- AttributeDeviceModelIdentifier,
- AttributeDeviceModelName,
- AttributeFaaSName,
- AttributeFaaSID,
- AttributeFaaSVersion,
- AttributeFaaSInstance,
- AttributeFaaSMaxMemory,
- AttributeHostID,
- AttributeHostName,
- AttributeHostType,
- AttributeHostArch,
- AttributeHostImageName,
- AttributeHostImageID,
- AttributeHostImageVersion,
- AttributeK8SClusterName,
- AttributeK8SNodeName,
- AttributeK8SNodeUID,
- AttributeK8SNamespaceName,
- AttributeK8SPodUID,
- AttributeK8SPodName,
- AttributeK8SContainerName,
- AttributeK8SReplicaSetUID,
- AttributeK8SReplicaSetName,
- AttributeK8SDeploymentUID,
- AttributeK8SDeploymentName,
- AttributeK8SStatefulSetUID,
- AttributeK8SStatefulSetName,
- AttributeK8SDaemonSetUID,
- AttributeK8SDaemonSetName,
- AttributeK8SJobUID,
- AttributeK8SJobName,
- AttributeK8SCronJobUID,
- AttributeK8SCronJobName,
- AttributeOSType,
- AttributeOSDescription,
- AttributeOSName,
- AttributeOSVersion,
- AttributeProcessPID,
- AttributeProcessExecutableName,
- AttributeProcessExecutablePath,
- AttributeProcessCommand,
- AttributeProcessCommandLine,
- AttributeProcessCommandArgs,
- AttributeProcessOwner,
- AttributeProcessRuntimeName,
- AttributeProcessRuntimeVersion,
- AttributeProcessRuntimeDescription,
- AttributeServiceName,
- AttributeServiceNamespace,
- AttributeServiceInstanceID,
- AttributeServiceVersion,
- AttributeTelemetrySDKName,
- AttributeTelemetrySDKLanguage,
- AttributeTelemetrySDKVersion,
- AttributeTelemetryAutoVersion,
- AttributeWebEngineName,
- AttributeWebEngineVersion,
- AttributeWebEngineDescription,
- }
-}
diff --git a/model/semconv/v1.5.0/generated_trace.go b/model/semconv/v1.5.0/generated_trace.go
deleted file mode 100644
index 0668ec18ef7..00000000000
--- a/model/semconv/v1.5.0/generated_trace.go
+++ /dev/null
@@ -1,1707 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-// Code generated from semantic convention specification. DO NOT EDIT.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.5.0"
-
-// Span attributes used by AWS Lambda (in addition to general `faas` attributes).
-const (
- // The full invoked ARN as provided on the Context passed to the function (Lambda-
- // Runtime-Invoked-Function-ARN header on the /runtime/invocation/next
- // applicable).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'arn:aws:lambda:us-east-1:123456:function:myfunction:myalias'
- // Note: This may be different from faas.id if an alias is involved.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSLambdaInvokedARN = "aws.lambda.invoked_arn"
-)
-
-// This document defines the attributes used to perform database client calls.
-const (
- // An identifier for the database management system (DBMS) product being used. See
- // below for a list of well-known identifiers.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystem = "db.system"
- // The connection string used to connect to the database. It is recommended to
- // remove embedded credentials.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Server=(localdb)\\v11.0;Integrated Security=true;'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBConnectionString = "db.connection_string"
- // Username for accessing the database.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'readonly_user', 'reporting_user'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBUser = "db.user"
- // The fully-qualified class name of the Java Database Connectivity (JDBC) driver
- // used to connect.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'org.postgresql.Driver',
- // 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBJDBCDriverClassname = "db.jdbc.driver_classname"
- // If no tech-specific attribute is defined, this attribute is used to report the
- // name of the database being accessed. For commands that switch the database,
- // this should be set to the target database (even if the command fails).
- //
- // Type: string
- // Required: Required, if applicable and no more-specific attribute is defined.
- // Stability: stable
- // Examples: 'customers', 'main'
- // Note: In some SQL databases, the database name to be used is called
- // "schema name".
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBName = "db.name"
- // The database statement being executed.
- //
- // Type: string
- // Required: Required if applicable and not explicitly disabled via
- // instrumentation configuration.
- // Stability: stable
- // Examples: 'SELECT * FROM wuser_table', 'SET mykey "WuValue"'
- // Note: The value may be sanitized to exclude sensitive information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBStatement = "db.statement"
- // The name of the operation being executed, e.g. the MongoDB command name such as
- // findAndModify, or the SQL keyword.
- //
- // Type: string
- // Required: Required, if `db.statement` is not applicable.
- // Stability: stable
- // Examples: 'findAndModify', 'HMSET', 'SELECT'
- // Note: When setting this to an SQL keyword, it is not recommended to attempt any
- // client-side parsing of db.statement just to get this property, but it should be
- // set if the operation name is provided by the library being instrumented. If the
- // SQL statement has an ambiguous operation, or performs more than one operation,
- // this value may be omitted.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBOperation = "db.operation"
-)
-
-const (
- // Some other SQL database. Fallback only. See notes
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOtherSQL = "other_sql"
- // Microsoft SQL Server
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMSSQL = "mssql"
- // MySQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMySQL = "mysql"
- // Oracle Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOracle = "oracle"
- // IBM DB2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDB2 = "db2"
- // PostgreSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPostgreSQL = "postgresql"
- // Amazon Redshift
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedshift = "redshift"
- // Apache Hive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHive = "hive"
- // Cloudscape
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCloudscape = "cloudscape"
- // HyperSQL DataBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHSQLDB = "hsqldb"
- // Progress Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemProgress = "progress"
- // SAP MaxDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMaxDB = "maxdb"
- // SAP HANA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHanaDB = "hanadb"
- // Ingres
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemIngres = "ingres"
- // FirstSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirstSQL = "firstsql"
- // EnterpriseDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemEDB = "edb"
- // InterSystems CachΓ©
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCache = "cache"
- // Adabas (Adaptable Database System)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemAdabas = "adabas"
- // Firebird
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirebird = "firebird"
- // Apache Derby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDerby = "derby"
- // FileMaker
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFilemaker = "filemaker"
- // Informix
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInformix = "informix"
- // InstantDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInstantDB = "instantdb"
- // InterBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInterbase = "interbase"
- // MariaDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMariaDB = "mariadb"
- // Netezza
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNetezza = "netezza"
- // Pervasive PSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPervasive = "pervasive"
- // PointBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPointbase = "pointbase"
- // SQLite
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSqlite = "sqlite"
- // Sybase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSybase = "sybase"
- // Teradata
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemTeradata = "teradata"
- // Vertica
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemVertica = "vertica"
- // H2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemH2 = "h2"
- // ColdFusion IMQ
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemColdfusion = "coldfusion"
- // Apache Cassandra
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCassandra = "cassandra"
- // Apache HBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHBase = "hbase"
- // MongoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMongoDB = "mongodb"
- // Redis
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedis = "redis"
- // Couchbase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchbase = "couchbase"
- // CouchDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchDB = "couchdb"
- // Microsoft Azure Cosmos DB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCosmosDB = "cosmosdb"
- // Amazon DynamoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDynamoDB = "dynamodb"
- // Neo4j
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNeo4j = "neo4j"
- // Apache Geode
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemGeode = "geode"
- // Elasticsearch
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemElasticsearch = "elasticsearch"
- // Memcached
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMemcached = "memcached"
- // CockroachDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCockroachdb = "cockroachdb"
-)
-
-// Connection-level attributes for Microsoft SQL Server
-const (
- // The Microsoft SQL Server instance name connecting to. This name is used to
- // determine the port of a named instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MSSQLSERVER'
- // Note: If setting a db.mssql.instance_name, net.peer.port is no longer required
- // (but still recommended if non-standard).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMSSQLInstanceName = "db.mssql.instance_name"
-)
-
-// Call-level attributes for Cassandra
-const (
- // The name of the keyspace being accessed. To be used instead of the generic
- // db.name attribute.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'mykeyspace'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraKeyspace = "db.cassandra.keyspace"
- // The fetch size used for paging, i.e. how many rows will be returned at once.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5000
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraPageSize = "db.cassandra.page_size"
- // The consistency level of the query. Based on consistency values from CQL.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevel = "db.cassandra.consistency_level"
- // The name of the primary table that the operation is acting upon, including the
- // schema name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'mytable'
- // Note: This mirrors the db.sql.table attribute but references cassandra rather
- // than sql. It is not recommended to attempt any client-side parsing of
- // db.statement just to get this property, but it should be set if it is provided
- // by the library being instrumented. If the operation is acting upon an anonymous
- // table, or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraTable = "db.cassandra.table"
- // Whether or not the query is idempotent.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraIdempotence = "db.cassandra.idempotence"
- // The number of times a query was speculatively executed. Not set or 0 if the
- // query was not executed speculatively.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 0, 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraSpeculativeExecutionCount = "db.cassandra.speculative_execution_count"
- // The ID of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'be13faa2-8574-4d71-926d-27f16cf8a7af'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorID = "db.cassandra.coordinator.id"
- // The data center of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'us-west-2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorDC = "db.cassandra.coordinator.dc"
-)
-
-const (
- // all
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAll = "all"
- // each_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelEachQuorum = "each_quorum"
- // quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelQuorum = "quorum"
- // local_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalQuorum = "local_quorum"
- // one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelOne = "one"
- // two
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelTwo = "two"
- // three
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelThree = "three"
- // local_one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalOne = "local_one"
- // any
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAny = "any"
- // serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelSerial = "serial"
- // local_serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalSerial = "local_serial"
-)
-
-// Call-level attributes for Apache HBase
-const (
- // The HBase namespace being accessed. To be used instead of the generic db.name
- // attribute.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'default'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBHBaseNamespace = "db.hbase.namespace"
-)
-
-// Call-level attributes for Redis
-const (
- // The index of the database being accessed as used in the SELECT command,
- // provided as an integer. To be used instead of the generic db.name attribute.
- //
- // Type: int
- // Required: Required, if other than the default database (`0`).
- // Stability: stable
- // Examples: 0, 1, 15
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBRedisDBIndex = "db.redis.database_index"
-)
-
-// Call-level attributes for MongoDB
-const (
- // The collection being accessed within the database stated in db.name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'customers', 'products'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMongoDBCollection = "db.mongodb.collection"
-)
-
-// Call-level attrbiutes for SQL databases
-const (
- // The name of the primary table that the operation is acting upon, including the
- // schema name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'public.users', 'customers'
- // Note: It is not recommended to attempt any client-side parsing of db.statement
- // just to get this property, but it should be set if it is provided by the
- // library being instrumented. If the operation is acting upon an anonymous table,
- // or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSQLTable = "db.sql.table"
-)
-
-// This document defines the attributes used to report a single exception associated with a span.
-const (
- // The type of the exception (its fully-qualified class name, if applicable). The
- // dynamic type of the exception should be preferred over the static type in
- // languages that support it.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'java.net.ConnectException', 'OSError'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionType = "exception.type"
- // The exception message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Division by zero', "Can't convert 'int' object to str implicitly"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionMessage = "exception.message"
- // A stacktrace as a string in the natural representation for the language
- // runtime. The representation is to be determined and documented by each language
- // SIG.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Exception in thread "main" java.lang.RuntimeException: Test
- // exception\\n at '
- // 'com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at '
- // 'com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at '
- // 'com.example.GenerateTrace.main(GenerateTrace.java:5)'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionStacktrace = "exception.stacktrace"
- // SHOULD be set to true if the exception event is recorded at a point where it is
- // known that the exception is escaping the scope of the span.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Note: An exception is considered to have escaped (or left) the scope of a span,
- // if that span is ended while the exception is still logically "in
- // flight".
- // This may be actually "in flight" in some languages (e.g. if the
- // exception
- // is passed to a Context manager's __exit__ method in Python) but will
- // usually be caught at the point of recording the exception in most languages.It
- // is usually not possible to determine at the point where an exception is thrown
- // whether it will escape the scope of a span.
- // However, it is trivial to know that an exception
- // will escape, if one checks for an active exception just before ending the span,
- // as done in the example above.It follows that an exception may still escape the
- // scope of the span
- // even if the exception.escaped attribute was not set or set to false,
- // since the event might have been recorded at a time where it was not
- // clear whether the exception will escape.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionEscaped = "exception.escaped"
-)
-
-// This semantic convention describes an instance of a function that runs without provisioning or managing of servers (also known as serverless functions or Function as a Service (FaaS)) with spans.
-const (
- // Type of the trigger on which the function is executed.
- //
- // Type: Enum
- // Required: On FaaS instances, faas.trigger MUST be set on incoming invocations.
- // Clients invoking FaaS instances MUST set `faas.trigger` on outgoing
- // invocations, if it is known to the client. This is, for example, not the case,
- // when the transport layer is abstracted in a FaaS client framework without
- // access to its configuration.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTrigger = "faas.trigger"
- // The execution ID of the current function execution.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'af9d5aa4-a685-4c5f-a22b-444f80b3cc28'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSExecution = "faas.execution"
-)
-
-const (
- // A response to some data source operation such as a database or filesystem read/write
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerDatasource = "datasource"
- // To provide an answer to an inbound HTTP request
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerHTTP = "http"
- // A function is set to be executed when messages are sent to a messaging system
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerPubsub = "pubsub"
- // A function is scheduled to be executed regularly
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerTimer = "timer"
- // If none of the others apply
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerOther = "other"
-)
-
-// Semantic Convention for FaaS triggered as a response to some data source operation such as a database or filesystem read/write.
-const (
- // The name of the source on which the triggering operation was performed. For
- // example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos
- // DB to the database name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myBucketName', 'myDBName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentCollection = "faas.document.collection"
- // Describes the type of the operation that was performed on the data.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperation = "faas.document.operation"
- // A string containing the time when the data was accessed in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentTime = "faas.document.time"
- // The document name/table subjected to the operation. For example, in Cloud
- // Storage or S3 is the name of the file, and in Cosmos DB the table name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myFile.txt', 'myTableName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentName = "faas.document.name"
-)
-
-const (
- // When a new object is created
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationInsert = "insert"
- // When an object is modified
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationEdit = "edit"
- // When an object is deleted
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationDelete = "delete"
-)
-
-// Semantic Convention for FaaS scheduled to be executed regularly.
-const (
- // A string containing the function invocation time in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTime = "faas.time"
- // A string containing the schedule period as Cron Expression.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0/5 * * * ? *'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSCron = "faas.cron"
-)
-
-// Contains additional attributes for incoming FaaS spans.
-const (
- // A boolean that is true if the serverless function is executed for the first
- // time (aka cold-start).
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSColdstart = "faas.coldstart"
-)
-
-// Contains additional attributes for outgoing FaaS spans.
-const (
- // The name of the invoked function.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'my-function'
- // Note: SHOULD be equal to the faas.name resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedName = "faas.invoked_name"
- // The cloud provider of the invoked function.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Note: SHOULD be equal to the cloud.provider resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProvider = "faas.invoked_provider"
- // The cloud region of the invoked function.
- //
- // Type: string
- // Required: For some cloud providers, like AWS or GCP, the region in which a
- // function is hosted is essential to uniquely identify the function and also part
- // of its endpoint. Since it's part of the endpoint being called, the region is
- // always known to clients. In these cases, `faas.invoked_region` MUST be set
- // accordingly. If the region is unknown to the client or not required for
- // identifying the invoked function, setting `faas.invoked_region` is optional.
- // Stability: stable
- // Examples: 'eu-central-1'
- // Note: SHOULD be equal to the cloud.region resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedRegion = "faas.invoked_region"
-)
-
-const (
- // Amazon Web Services
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAWS = "aws"
- // Microsoft Azure
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAzure = "azure"
- // Google Cloud Platform
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderGCP = "gcp"
-)
-
-// These attributes may be used for any network related operation.
-const (
- // Transport protocol used. See note below.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransport = "net.transport"
- // Remote address of the peer (dotted decimal for IPv4 or RFC5952 for IPv6)
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '127.0.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerIP = "net.peer.ip"
- // Remote port number.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 80, 8080, 443
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerPort = "net.peer.port"
- // Remote hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerName = "net.peer.name"
- // Like net.peer.ip but for the host IP. Useful in case of a multi-IP host.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '192.168.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostIP = "net.host.ip"
- // Like net.peer.port but for the host port.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 35555
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostPort = "net.host.port"
- // Local hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'localhost'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostName = "net.host.name"
-)
-
-const (
- // ip_tcp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportTCP = "ip_tcp"
- // ip_udp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUDP = "ip_udp"
- // Another IP-based protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportIP = "ip"
- // Unix Domain socket. See below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUnix = "unix"
- // Named or anonymous pipe. See note below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportPipe = "pipe"
- // In-process communication
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportInProc = "inproc"
- // Something else (non IP-based)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportOther = "other"
-)
-
-// Operations that access some remote service.
-const (
- // The service.name of the remote service. SHOULD be equal to the actual
- // service.name resource attribute of the remote service if any.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AuthTokenCache'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributePeerService = "peer.service"
-)
-
-// These attributes may be used for any operation with an authenticated and/or authorized enduser.
-const (
- // Username or client_id extracted from the access token or Authorization header
- // in the inbound request from outside the system.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'username'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserID = "enduser.id"
- // Actual/assumed role the client is making the request under extracted from token
- // or application security context.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'admin'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserRole = "enduser.role"
- // Scopes or granted authorities the client currently possesses extracted from
- // token or application security context. The value would come from the scope
- // associated with an OAuth 2.0 Access Token or an attribute value in a SAML 2.0
- // Assertion.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'read:message, write:files'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserScope = "enduser.scope"
-)
-
-// These attributes may be used for any operation to store information about a thread that started a span.
-const (
- // Current "managed" thread ID (as opposed to OS thread ID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadID = "thread.id"
- // Current thread name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'main'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadName = "thread.name"
-)
-
-// These attributes allow to report this unit of code and therefore to provide more context about the span.
-const (
- // The method or function name, or equivalent (usually rightmost part of the code
- // unit's name).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'serveRequest'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFunction = "code.function"
- // The "namespace" within which code.function is defined. Usually the
- // qualified class or module name, such that code.namespace + some separator +
- // code.function form a unique identifier for the code unit.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'com.example.MyHTTPService'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeNamespace = "code.namespace"
- // The source code file name that identifies the code unit as uniquely as possible
- // (preferably an absolute file path).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/usr/local/MyApplication/content_root/app/index.php'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFilepath = "code.filepath"
- // The line number in code.filepath best representing the operation. It SHOULD
- // point within the code unit named in code.function.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeLineNumber = "code.lineno"
-)
-
-// This document defines semantic conventions for HTTP client and server Spans.
-const (
- // HTTP request method.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'GET', 'POST', 'HEAD'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPMethod = "http.method"
- // Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment].
- // Usually the fragment is not transmitted over HTTP, but if it is known, it
- // should be included nevertheless.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'https://www.foo.bar/search?q=OpenTelemetry#SemConv'
- // Note: http.url MUST NOT contain credentials passed via URL in form of
- // https://username:password@www.example.com/. In such case the attribute's value
- // should be https://www.example.com/.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPURL = "http.url"
- // The full request target as passed in a HTTP request line or equivalent.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/path/12314/?q=ddds#123'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPTarget = "http.target"
- // The value of the HTTP host header. When the header is empty or not present,
- // this attribute should be the same.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'www.example.org'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPHost = "http.host"
- // The URI scheme identifying the used protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'http', 'https'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPScheme = "http.scheme"
- // HTTP response status code.
- //
- // Type: int
- // Required: If and only if one was received/sent.
- // Stability: stable
- // Examples: 200
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPStatusCode = "http.status_code"
- // Kind of HTTP protocol used.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Note: If net.transport is not specified, it can be assumed to be IP.TCP except
- // if http.flavor is QUIC, in which case IP.UDP is assumed.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavor = "http.flavor"
- // Value of the HTTP User-Agent header sent by the client.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'CERN-LineMode/2.15 libwww/2.17b3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPUserAgent = "http.user_agent"
- // The size of the request payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLength = "http.request_content_length"
- // The size of the uncompressed request payload body after transport decoding. Not
- // set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLengthUncompressed = "http.request_content_length_uncompressed"
- // The size of the response payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLength = "http.response_content_length"
- // The size of the uncompressed response payload body after transport decoding.
- // Not set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLengthUncompressed = "http.response_content_length_uncompressed"
-)
-
-const (
- // HTTP 1.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP10 = "1.0"
- // HTTP 1.1
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP11 = "1.1"
- // HTTP 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP20 = "2.0"
- // SPDY protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorSPDY = "SPDY"
- // QUIC protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorQUIC = "QUIC"
-)
-
-// Semantic Convention for HTTP Server
-const (
- // The primary server name of the matched virtual host. This should be obtained
- // via configuration. If no such configuration can be obtained, this attribute
- // MUST NOT be set ( net.host.name should be used instead).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Note: http.url is usually not readily available on the server side but would
- // have to be assembled in a cumbersome and sometimes lossy process from other
- // information (see e.g. open-telemetry/opentelemetry-python/pull/148). It is thus
- // preferred to supply the raw data that is available.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPServerName = "http.server_name"
- // The matched route (path template).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/users/:userID?'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRoute = "http.route"
- // The IP address of the original client behind all proxies, if known (e.g. from
- // X-Forwarded-For).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '83.164.160.102'
- // Note: This is not necessarily the same as net.peer.ip, which would identify the
- // network-level peer, which may be a proxy.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPClientIP = "http.client_ip"
-)
-
-// Attributes that exist for multiple DynamoDB request types.
-const (
- // The keys in the RequestItems object field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'Cats'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableNames = "aws.dynamodb.table_names"
- // The JSON-serialized value of each item in the ConsumedCapacity response field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : {
- // "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number } },
- // "ReadCapacityUnits": number, "Table": { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName":
- // "string", "WriteCapacityUnits": number }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsumedCapacity = "aws.dynamodb.consumed_capacity"
- // The JSON-serialized value of the ItemCollectionMetrics response field.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob,
- // "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" :
- // "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S":
- // "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBItemCollectionMetrics = "aws.dynamodb.item_collection_metrics"
- // The value of the ProvisionedThroughput.ReadCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedReadCapacity = "aws.dynamodb.provisioned_read_capacity"
- // The value of the ProvisionedThroughput.WriteCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedWriteCapacity = "aws.dynamodb.provisioned_write_capacity"
- // The value of the ConsistentRead request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsistentRead = "aws.dynamodb.consistent_read"
- // The value of the ProjectionExpression request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Title', 'Title, Price, Color', 'Title, Description, RelatedItems,
- // ProductReviews'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProjection = "aws.dynamodb.projection"
- // The value of the Limit request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLimit = "aws.dynamodb.limit"
- // The value of the AttributesToGet request parameter.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'lives', 'id'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributesToGet = "aws.dynamodb.attributes_to_get"
- // The value of the IndexName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'name_to_group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBIndexName = "aws.dynamodb.index_name"
- // The value of the Select request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ALL_ATTRIBUTES', 'COUNT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSelect = "aws.dynamodb.select"
-)
-
-// DynamoDB.CreateTable
-const (
- // The JSON-serialized value of each item of the GlobalSecondaryIndexes request
- // field
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexName": "string", "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits":
- // number, "WriteCapacityUnits": number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexes = "aws.dynamodb.global_secondary_indexes"
- // The JSON-serialized value of each item of the LocalSecondaryIndexes request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexARN": "string", "IndexName": "string", "IndexSizeBytes":
- // number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLocalSecondaryIndexes = "aws.dynamodb.local_secondary_indexes"
-)
-
-// DynamoDB.ListTables
-const (
- // The value of the ExclusiveStartTableName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'CatsTable'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBExclusiveStartTable = "aws.dynamodb.exclusive_start_table"
- // The the number of items in the TableNames response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 20
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableCount = "aws.dynamodb.table_count"
-)
-
-// DynamoDB.Query
-const (
- // The value of the ScanIndexForward request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScanForward = "aws.dynamodb.scan_forward"
-)
-
-// DynamoDB.Scan
-const (
- // The value of the Segment request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSegment = "aws.dynamodb.segment"
- // The value of the TotalSegments request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTotalSegments = "aws.dynamodb.total_segments"
- // The value of the Count response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBCount = "aws.dynamodb.count"
- // The value of the ScannedCount response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 50
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScannedCount = "aws.dynamodb.scanned_count"
-)
-
-// DynamoDB.UpdateTable
-const (
- // The JSON-serialized value of each item in the AttributeDefinitions request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributeDefinitions = "aws.dynamodb.attribute_definitions"
- // The JSON-serialized value of each item in the the GlobalSecondaryIndexUpdates
- // request field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "Create": { "IndexName": "string", "KeySchema": [ {
- // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
- // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" },
- // "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates = "aws.dynamodb.global_secondary_index_updates"
-)
-
-// This document defines the attributes used in messaging systems.
-const (
- // A string identifying the messaging system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'kafka', 'rabbitmq', 'activemq', 'AmazonSQS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingSystem = "messaging.system"
- // The message destination name. This might be equal to the span name but is
- // required nevertheless.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'MyQueue', 'MyTopic'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestination = "messaging.destination"
- // The kind of message destination
- //
- // Type: Enum
- // Required: Required only if the message destination is either a `queue` or
- // `topic`.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKind = "messaging.destination_kind"
- // A boolean that is true if the message destination is temporary.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingTempDestination = "messaging.temp_destination"
- // The name of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AMQP', 'MQTT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocol = "messaging.protocol"
- // The version of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.9.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocolVersion = "messaging.protocol_version"
- // Connection string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'tibjmsnaming://localhost:7222',
- // 'https://queue.amazonaws.com/80398EXAMPLE/MyQueue'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingURL = "messaging.url"
- // A value used by the messaging system as an identifier for the message,
- // represented as a string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '452a7c7c7c7048c2f887f61572b18fc2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessageID = "messaging.message_id"
- // The conversation ID identifying the conversation to which the message belongs,
- // represented as a string. Sometimes called "Correlation ID".
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MyConversationID'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingConversationID = "messaging.conversation_id"
- // The (uncompressed) size of the message payload in bytes. Also use this
- // attribute if it is unknown whether the compressed or uncompressed payload size
- // is reported.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2738
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadSizeBytes = "messaging.message_payload_size_bytes"
- // The compressed size of the message payload in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2048
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadCompressedSizeBytes = "messaging.message_payload_compressed_size_bytes"
-)
-
-const (
- // A message sent to a queue
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindQueue = "queue"
- // A message sent to a topic
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindTopic = "topic"
-)
-
-// Semantic convention for a consumer of messages received from a messaging system
-const (
- // A string identifying the kind of message consumption as defined in the
- // Operation names section above. If the operation is "send", this
- // attribute MUST NOT be set, since the operation can be inferred from the span
- // kind in that case.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperation = "messaging.operation"
-)
-
-const (
- // receive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationReceive = "receive"
- // process
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationProcess = "process"
-)
-
-// Attributes for RabbitMQ
-const (
- // RabbitMQ message routing key.
- //
- // Type: string
- // Required: Unless it is empty.
- // Stability: stable
- // Examples: 'myKey'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRabbitmqRoutingKey = "messaging.rabbitmq.routing_key"
-)
-
-// Attributes for Apache Kafka
-const (
- // Message keys in Kafka are used for grouping alike messages to ensure they're
- // processed on the same partition. They differ from messaging.message_id in that
- // they're not unique. If the key is null, the attribute MUST NOT be set.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myKey'
- // Note: If the key type is not string, it's string representation has to be
- // supplied for the attribute. If the key has no unambiguous, canonical string
- // form, don't include its value.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaMessageKey = "messaging.kafka.message_key"
- // Name of the Kafka Consumer Group that is handling the message. Only applies to
- // consumers, not producers.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'my-group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaConsumerGroup = "messaging.kafka.consumer_group"
- // Client ID for the Consumer or Producer that is handling the message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'client-5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaClientID = "messaging.kafka.client_id"
- // Partition the message is sent to.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaPartition = "messaging.kafka.partition"
- // A boolean that is true if the message is a tombstone.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaTombstone = "messaging.kafka.tombstone"
-)
-
-// This document defines semantic conventions for remote procedure calls.
-const (
- // A string identifying the remoting system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'grpc', 'java_rmi', 'wcf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCSystem = "rpc.system"
- // The full (logical) name of the service being called, including its package
- // name, if applicable.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'myservice.EchoService'
- // Note: This is the logical name of the service from the RPC interface
- // perspective, which can be different from the name of any implementing class.
- // The code.namespace attribute may be used to store the latter (despite the
- // attribute name, it may include a class name; e.g., class with method actually
- // executing the call on the server side, RPC client stub class on the client
- // side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCService = "rpc.service"
- // The name of the (logical) method being called, must be equal to the $method
- // part in the span name.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'exampleMethod'
- // Note: This is the logical name of the method from the RPC interface
- // perspective, which can be different from the name of any implementing
- // method/function. The code.function attribute may be used to store the latter
- // (e.g., method actually executing the call on the server side, RPC client stub
- // method on the client side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCMethod = "rpc.method"
-)
-
-// Tech-specific attributes for gRPC.
-const (
- // The numeric status code of the gRPC request.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCode = "rpc.grpc.status_code"
-)
-
-const (
- // OK
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOk = "0"
- // CANCELLED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeCancelled = "1"
- // UNKNOWN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnknown = "2"
- // INVALID_ARGUMENT
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInvalidArgument = "3"
- // DEADLINE_EXCEEDED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDeadlineExceeded = "4"
- // NOT_FOUND
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeNotFound = "5"
- // ALREADY_EXISTS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAlreadyExists = "6"
- // PERMISSION_DENIED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodePermissionDenied = "7"
- // RESOURCE_EXHAUSTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeResourceExhausted = "8"
- // FAILED_PRECONDITION
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeFailedPrecondition = "9"
- // ABORTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAborted = "10"
- // OUT_OF_RANGE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOutOfRange = "11"
- // UNIMPLEMENTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnimplemented = "12"
- // INTERNAL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInternal = "13"
- // UNAVAILABLE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnavailable = "14"
- // DATA_LOSS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDataLoss = "15"
- // UNAUTHENTICATED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnauthenticated = "16"
-)
-
-// Tech-specific attributes for [JSON RPC](https://www.jsonrpc.org/).
-const (
- // Protocol version as in jsonrpc property of request/response. Since JSON-RPC 1.0
- // does not specify this, the value can be omitted.
- //
- // Type: string
- // Required: If missing, it is assumed to be "1.0".
- // Stability: stable
- // Examples: '2.0', '1.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcVersion = "rpc.jsonrpc.version"
- // id property of request or response. Since protocol allows id to be int, string,
- // null or missing (for notifications), value is expected to be cast to string for
- // simplicity. Use empty string in case of null value. Omit entirely if this is a
- // notification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '10', 'request-7', ''
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcRequestID = "rpc.jsonrpc.request_id"
- // error.code property of response if it is an error response.
- //
- // Type: int
- // Required: If missing, response is assumed to be successful.
- // Stability: stable
- // Examples: -32700, 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorCode = "rpc.jsonrpc.error_code"
- // error.message property of response if it is an error response.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Parse error', 'User already exists'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorMessage = "rpc.jsonrpc.error_message"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetTraceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeAWSLambdaInvokedARN,
- AttributeDBSystem,
- AttributeDBConnectionString,
- AttributeDBUser,
- AttributeDBJDBCDriverClassname,
- AttributeDBName,
- AttributeDBStatement,
- AttributeDBOperation,
- AttributeDBMSSQLInstanceName,
- AttributeDBCassandraKeyspace,
- AttributeDBCassandraPageSize,
- AttributeDBCassandraConsistencyLevel,
- AttributeDBCassandraTable,
- AttributeDBCassandraIdempotence,
- AttributeDBCassandraSpeculativeExecutionCount,
- AttributeDBCassandraCoordinatorID,
- AttributeDBCassandraCoordinatorDC,
- AttributeDBHBaseNamespace,
- AttributeDBRedisDBIndex,
- AttributeDBMongoDBCollection,
- AttributeDBSQLTable,
- AttributeExceptionType,
- AttributeExceptionMessage,
- AttributeExceptionStacktrace,
- AttributeExceptionEscaped,
- AttributeFaaSTrigger,
- AttributeFaaSExecution,
- AttributeFaaSDocumentCollection,
- AttributeFaaSDocumentOperation,
- AttributeFaaSDocumentTime,
- AttributeFaaSDocumentName,
- AttributeFaaSTime,
- AttributeFaaSCron,
- AttributeFaaSColdstart,
- AttributeFaaSInvokedName,
- AttributeFaaSInvokedProvider,
- AttributeFaaSInvokedRegion,
- AttributeNetTransport,
- AttributeNetPeerIP,
- AttributeNetPeerPort,
- AttributeNetPeerName,
- AttributeNetHostIP,
- AttributeNetHostPort,
- AttributeNetHostName,
- AttributePeerService,
- AttributeEnduserID,
- AttributeEnduserRole,
- AttributeEnduserScope,
- AttributeThreadID,
- AttributeThreadName,
- AttributeCodeFunction,
- AttributeCodeNamespace,
- AttributeCodeFilepath,
- AttributeCodeLineNumber,
- AttributeHTTPMethod,
- AttributeHTTPURL,
- AttributeHTTPTarget,
- AttributeHTTPHost,
- AttributeHTTPScheme,
- AttributeHTTPStatusCode,
- AttributeHTTPFlavor,
- AttributeHTTPUserAgent,
- AttributeHTTPRequestContentLength,
- AttributeHTTPRequestContentLengthUncompressed,
- AttributeHTTPResponseContentLength,
- AttributeHTTPResponseContentLengthUncompressed,
- AttributeHTTPServerName,
- AttributeHTTPRoute,
- AttributeHTTPClientIP,
- AttributeAWSDynamoDBTableNames,
- AttributeAWSDynamoDBConsumedCapacity,
- AttributeAWSDynamoDBItemCollectionMetrics,
- AttributeAWSDynamoDBProvisionedReadCapacity,
- AttributeAWSDynamoDBProvisionedWriteCapacity,
- AttributeAWSDynamoDBConsistentRead,
- AttributeAWSDynamoDBProjection,
- AttributeAWSDynamoDBLimit,
- AttributeAWSDynamoDBAttributesToGet,
- AttributeAWSDynamoDBIndexName,
- AttributeAWSDynamoDBSelect,
- AttributeAWSDynamoDBGlobalSecondaryIndexes,
- AttributeAWSDynamoDBLocalSecondaryIndexes,
- AttributeAWSDynamoDBExclusiveStartTable,
- AttributeAWSDynamoDBTableCount,
- AttributeAWSDynamoDBScanForward,
- AttributeAWSDynamoDBSegment,
- AttributeAWSDynamoDBTotalSegments,
- AttributeAWSDynamoDBCount,
- AttributeAWSDynamoDBScannedCount,
- AttributeAWSDynamoDBAttributeDefinitions,
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates,
- AttributeMessagingSystem,
- AttributeMessagingDestination,
- AttributeMessagingDestinationKind,
- AttributeMessagingTempDestination,
- AttributeMessagingProtocol,
- AttributeMessagingProtocolVersion,
- AttributeMessagingURL,
- AttributeMessagingMessageID,
- AttributeMessagingConversationID,
- AttributeMessagingMessagePayloadSizeBytes,
- AttributeMessagingMessagePayloadCompressedSizeBytes,
- AttributeMessagingOperation,
- AttributeMessagingRabbitmqRoutingKey,
- AttributeMessagingKafkaMessageKey,
- AttributeMessagingKafkaConsumerGroup,
- AttributeMessagingKafkaClientID,
- AttributeMessagingKafkaPartition,
- AttributeMessagingKafkaTombstone,
- AttributeRPCSystem,
- AttributeRPCService,
- AttributeRPCMethod,
- AttributeRPCGRPCStatusCode,
- AttributeRPCJsonrpcVersion,
- AttributeRPCJsonrpcRequestID,
- AttributeRPCJsonrpcErrorCode,
- AttributeRPCJsonrpcErrorMessage,
- }
-}
diff --git a/model/semconv/v1.5.0/nonstandard.go b/model/semconv/v1.5.0/nonstandard.go
deleted file mode 100644
index e6f9aa74d4c..00000000000
--- a/model/semconv/v1.5.0/nonstandard.go
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.5.0"
-
-const (
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- InstrumentationLibraryName = "otel.library.name"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- InstrumentationLibraryVersion = "otel.library.version"
-)
-
-const (
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusCode = "otel.status_code"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusDescription = "otel.status_description"
-)
diff --git a/model/semconv/v1.5.0/schema.go b/model/semconv/v1.5.0/schema.go
deleted file mode 100644
index dceed00b013..00000000000
--- a/model/semconv/v1.5.0/schema.go
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.5.0"
-
-// SchemaURL is the schema URL that matches the version of the semantic conventions
-// that this package defines. Conventions packages starting from v1.4.0 must declare
-// non-empty schema URL in the form https://opentelemetry.io/schemas/
- //
- // Take care not to use the "invoked ARN" directly but replace any
- // alias suffix with the resolved function version, as the same runtime instance
- // may be invokable with multiple
- // different aliases.
- //
- // On some providers, it may not be possible to determine the full ID at startup,
- // which is why this field cannot be made required. For example, on AWS the
- // account ID
- // part of the ARN is not available without calling another AWS API
- // which may be deemed too slow for a short-running lambda function.
- // As an alternative, consider setting faas.id as a span attribute instead.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSID = "faas.id"
- // The immutable version of the function being executed.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '26', 'pinkfroid-00002'
- // Note: Depending on the cloud provider and platform, use:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSVersion = "faas.version"
- // The execution environment ID as a string, that will be potentially reused for
- // other invocations to the same function/function version.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de'
- // Note:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInstance = "faas.instance"
- // The amount of memory available to the serverless function in MiB.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 128
- // Note: It's recommended to set this attribute since e.g. too little memory can
- // easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
- // the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
- // information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSMaxMemory = "faas.max_memory"
-)
-
-// A host is defined as a general computing instance.
-const (
- // Unique host ID. For Cloud, this must be the instance_id assigned by the cloud
- // provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostID = "host.id"
- // Name of the host. On Unix systems, it may contain what the hostname command
- // returns, or the fully qualified hostname, or another name specified by the
- // user.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostName = "host.name"
- // Type of host. For Cloud, this must be the machine type.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'n1-standard-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostType = "host.type"
- // The CPU architecture the host system is running on.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArch = "host.arch"
- // Name of the VM image or OS install the host was instantiated from.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageName = "host.image.name"
- // VM image ID. For Cloud, this value is from the provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ami-07b06b442921831e5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageID = "host.image.id"
- // The version string of the VM image as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageVersion = "host.image.version"
-)
-
-const (
- // AMD64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchAMD64 = "amd64"
- // ARM32
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM32 = "arm32"
- // ARM64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM64 = "arm64"
- // Itanium
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchIA64 = "ia64"
- // 32-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC32 = "ppc32"
- // 64-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC64 = "ppc64"
- // 32-bit x86
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchX86 = "x86"
-)
-
-// A Kubernetes Cluster.
-const (
- // The name of the cluster.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-cluster'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SClusterName = "k8s.cluster.name"
-)
-
-// A Kubernetes Node object.
-const (
- // The name of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'node-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeName = "k8s.node.name"
- // The UID of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeUID = "k8s.node.uid"
-)
-
-// A Kubernetes Namespace.
-const (
- // The name of the namespace that the pod is running in.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'default'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNamespaceName = "k8s.namespace.name"
-)
-
-// A Kubernetes Pod object.
-const (
- // The UID of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodUID = "k8s.pod.uid"
- // The name of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-pod-autoconf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodName = "k8s.pod.name"
-)
-
-// A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
-const (
- // The name of the Container in a Pod template.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'redis'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SContainerName = "k8s.container.name"
-)
-
-// A Kubernetes ReplicaSet object.
-const (
- // The UID of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
- // The name of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetName = "k8s.replicaset.name"
-)
-
-// A Kubernetes Deployment object.
-const (
- // The UID of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentUID = "k8s.deployment.uid"
- // The name of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentName = "k8s.deployment.name"
-)
-
-// A Kubernetes StatefulSet object.
-const (
- // The UID of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
- // The name of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetName = "k8s.statefulset.name"
-)
-
-// A Kubernetes DaemonSet object.
-const (
- // The UID of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
- // The name of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetName = "k8s.daemonset.name"
-)
-
-// A Kubernetes Job object.
-const (
- // The UID of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobUID = "k8s.job.uid"
- // The name of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobName = "k8s.job.name"
-)
-
-// A Kubernetes CronJob object.
-const (
- // The UID of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobUID = "k8s.cronjob.uid"
- // The name of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobName = "k8s.cronjob.name"
-)
-
-// The operating system (OS) on which the process represented by this resource is running.
-const (
- // The operating system type.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSType = "os.type"
- // Human readable (not intended to be parsed) OS version information, like e.g.
- // reported by ver or lsb_release -a commands.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSDescription = "os.description"
- // Human readable operating system name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'iOS', 'Android', 'Ubuntu'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSName = "os.name"
- // The version string of the operating system as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.2.1', '18.04.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSVersion = "os.version"
-)
-
-const (
- // Microsoft Windows
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeWindows = "windows"
- // Linux
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeLinux = "linux"
- // Apple Darwin
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDarwin = "darwin"
- // FreeBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeFreeBSD = "freebsd"
- // NetBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeNetBSD = "netbsd"
- // OpenBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeOpenBSD = "openbsd"
- // DragonFly BSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDragonflyBSD = "dragonflybsd"
- // HP-UX (Hewlett Packard Unix)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeHPUX = "hpux"
- // AIX (Advanced Interactive eXecutive)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeAIX = "aix"
- // Oracle Solaris
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeSolaris = "solaris"
- // IBM z/OS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeZOS = "z_os"
-)
-
-// An operating system process.
-const (
- // Process identifier (PID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 1234
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessPID = "process.pid"
- // The name of the process executable. On Linux based systems, can be set to the
- // Name in proc/[pid]/status. On Windows, can be set to the base name of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutableName = "process.executable.name"
- // The full path to the process executable. On Linux based systems, can be set to
- // the target of proc/[pid]/exe. On Windows, can be set to the result of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: '/usr/bin/cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutablePath = "process.executable.path"
- // The command used to launch the process (i.e. the command name). On Linux based
- // systems, can be set to the zeroth string in proc/[pid]/cmdline. On Windows, can
- // be set to the first parameter extracted from GetCommandLineW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommand = "process.command"
- // The full command used to launch the process as a single string representing the
- // full command. On Windows, can be set to the result of GetCommandLineW. Do not
- // set this if you have to assemble it just for monitoring; use
- // process.command_args instead.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandLine = "process.command_line"
- // All the command arguments (including the command/executable itself) as received
- // by the process. On Linux-based systems (and some other Unixoid systems
- // supporting procfs), can be set according to the list of null-delimited strings
- // extracted from proc/[pid]/cmdline. For libc-based executables, this would be
- // the full argv vector passed to main.
- //
- // Type: string[]
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otecol', '--config=config.yaml'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandArgs = "process.command_args"
- // The username of the user that owns the process.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'root'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessOwner = "process.owner"
-)
-
-// The single (language) runtime instance which is monitored.
-const (
- // The name of the runtime of this process. For compiled native binaries, this
- // SHOULD be the name of the compiler.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'OpenJDK Runtime Environment'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeName = "process.runtime.name"
- // The version of the runtime of this process, as returned by the runtime without
- // modification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.0.2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeVersion = "process.runtime.version"
- // An additional description about the runtime of the process, for example a
- // specific vendor customization of the runtime environment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeDescription = "process.runtime.description"
-)
-
-// A service instance.
-const (
- // Logical name of the service.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'shoppingcart'
- // Note: MUST be the same for all instances of horizontally scaled services. If
- // the value was not specified, SDKs MUST fallback to unknown_service:
- // concatenated with process.executable.name, e.g. unknown_service:bash. If
- // process.executable.name is not available, the value MUST be set to
- // unknown_service.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceName = "service.name"
- // A namespace for service.name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Shop'
- // Note: A string value having a meaning that helps to distinguish a group of
- // services, for example the team name that owns a group of services. service.name
- // is expected to be unique within the same namespace. If service.namespace is not
- // specified in the Resource then service.name is expected to be unique for all
- // services that have no explicit namespace defined (so the empty/unspecified
- // namespace is simply one more valid namespace). Zero-length namespace string is
- // assumed equal to unspecified namespace.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceNamespace = "service.namespace"
- // The string ID of the service instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '627cc493-f310-47de-96bd-71410b7dec09'
- // Note: MUST be unique for each instance of the same
- // service.namespace,service.name pair (in other words
- // service.namespace,service.name,service.instance.id triplet MUST be globally
- // unique). The ID helps to distinguish instances of the same service that exist
- // at the same time (e.g. instances of a horizontally scaled service). It is
- // preferable for the ID to be persistent and stay the same for the lifetime of
- // the service instance, however it is acceptable that the ID is ephemeral and
- // changes during important lifetime events for the service (e.g. service
- // restarts). If the service has no inherent unique ID that can be used as the
- // value of this attribute it is recommended to generate a random Version 1 or
- // Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
- // Version 5, see RFC 4122 for more recommendations).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceInstanceID = "service.instance.id"
- // The version string of the service API or implementation.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceVersion = "service.version"
-)
-
-// The telemetry SDK used to capture data recorded by the instrumentation libraries.
-const (
- // The name of the telemetry SDK as defined above.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKName = "telemetry.sdk.name"
- // The language of the telemetry SDK.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
- // The version string of the telemetry SDK.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKVersion = "telemetry.sdk.version"
- // The version string of the auto instrumentation agent, if used.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetryAutoVersion = "telemetry.auto.version"
-)
-
-const (
- // cpp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageCPP = "cpp"
- // dotnet
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageDotnet = "dotnet"
- // erlang
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageErlang = "erlang"
- // go
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageGo = "go"
- // java
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageJava = "java"
- // nodejs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageNodejs = "nodejs"
- // php
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePHP = "php"
- // python
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePython = "python"
- // ruby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageRuby = "ruby"
- // webjs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageWebjs = "webjs"
-)
-
-// Resource describing the packaged software running the application code. Web engines are typically executed using process.runtime.
-const (
- // The name of the web engine.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'WildFly'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineName = "webengine.name"
- // The version of the web engine.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '21.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineVersion = "webengine.version"
- // Additional description of the web engine (e.g. detailed version and edition
- // information).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineDescription = "webengine.description"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetResourceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeCloudProvider,
- AttributeCloudAccountID,
- AttributeCloudRegion,
- AttributeCloudAvailabilityZone,
- AttributeCloudPlatform,
- AttributeAWSECSContainerARN,
- AttributeAWSECSClusterARN,
- AttributeAWSECSLaunchtype,
- AttributeAWSECSTaskARN,
- AttributeAWSECSTaskFamily,
- AttributeAWSECSTaskRevision,
- AttributeAWSEKSClusterARN,
- AttributeAWSLogGroupNames,
- AttributeAWSLogGroupARNs,
- AttributeAWSLogStreamNames,
- AttributeAWSLogStreamARNs,
- AttributeContainerName,
- AttributeContainerID,
- AttributeContainerRuntime,
- AttributeContainerImageName,
- AttributeContainerImageTag,
- AttributeDeploymentEnvironment,
- AttributeDeviceID,
- AttributeDeviceModelIdentifier,
- AttributeDeviceModelName,
- AttributeFaaSName,
- AttributeFaaSID,
- AttributeFaaSVersion,
- AttributeFaaSInstance,
- AttributeFaaSMaxMemory,
- AttributeHostID,
- AttributeHostName,
- AttributeHostType,
- AttributeHostArch,
- AttributeHostImageName,
- AttributeHostImageID,
- AttributeHostImageVersion,
- AttributeK8SClusterName,
- AttributeK8SNodeName,
- AttributeK8SNodeUID,
- AttributeK8SNamespaceName,
- AttributeK8SPodUID,
- AttributeK8SPodName,
- AttributeK8SContainerName,
- AttributeK8SReplicaSetUID,
- AttributeK8SReplicaSetName,
- AttributeK8SDeploymentUID,
- AttributeK8SDeploymentName,
- AttributeK8SStatefulSetUID,
- AttributeK8SStatefulSetName,
- AttributeK8SDaemonSetUID,
- AttributeK8SDaemonSetName,
- AttributeK8SJobUID,
- AttributeK8SJobName,
- AttributeK8SCronJobUID,
- AttributeK8SCronJobName,
- AttributeOSType,
- AttributeOSDescription,
- AttributeOSName,
- AttributeOSVersion,
- AttributeProcessPID,
- AttributeProcessExecutableName,
- AttributeProcessExecutablePath,
- AttributeProcessCommand,
- AttributeProcessCommandLine,
- AttributeProcessCommandArgs,
- AttributeProcessOwner,
- AttributeProcessRuntimeName,
- AttributeProcessRuntimeVersion,
- AttributeProcessRuntimeDescription,
- AttributeServiceName,
- AttributeServiceNamespace,
- AttributeServiceInstanceID,
- AttributeServiceVersion,
- AttributeTelemetrySDKName,
- AttributeTelemetrySDKLanguage,
- AttributeTelemetrySDKVersion,
- AttributeTelemetryAutoVersion,
- AttributeWebEngineName,
- AttributeWebEngineVersion,
- AttributeWebEngineDescription,
- }
-}
diff --git a/model/semconv/v1.6.1/generated_trace.go b/model/semconv/v1.6.1/generated_trace.go
deleted file mode 100644
index 3453369b72c..00000000000
--- a/model/semconv/v1.6.1/generated_trace.go
+++ /dev/null
@@ -1,1851 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-// Code generated from semantic convention specification. DO NOT EDIT.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.6.1"
-
-// Span attributes used by AWS Lambda (in addition to general `faas` attributes).
-const (
- // The full invoked ARN as provided on the Context passed to the function (Lambda-
- // Runtime-Invoked-Function-ARN header on the /runtime/invocation/next
- // applicable).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'arn:aws:lambda:us-east-1:123456:function:myfunction:myalias'
- // Note: This may be different from faas.id if an alias is involved.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSLambdaInvokedARN = "aws.lambda.invoked_arn"
-)
-
-// This document defines the attributes used to perform database client calls.
-const (
- // An identifier for the database management system (DBMS) product being used. See
- // below for a list of well-known identifiers.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystem = "db.system"
- // The connection string used to connect to the database. It is recommended to
- // remove embedded credentials.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Server=(localdb)\\v11.0;Integrated Security=true;'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBConnectionString = "db.connection_string"
- // Username for accessing the database.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'readonly_user', 'reporting_user'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBUser = "db.user"
- // The fully-qualified class name of the Java Database Connectivity (JDBC) driver
- // used to connect.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'org.postgresql.Driver',
- // 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBJDBCDriverClassname = "db.jdbc.driver_classname"
- // If no tech-specific attribute is defined, this attribute is used to report the
- // name of the database being accessed. For commands that switch the database,
- // this should be set to the target database (even if the command fails).
- //
- // Type: string
- // Required: Required, if applicable and no more-specific attribute is defined.
- // Stability: stable
- // Examples: 'customers', 'main'
- // Note: In some SQL databases, the database name to be used is called
- // "schema name".
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBName = "db.name"
- // The database statement being executed.
- //
- // Type: string
- // Required: Required if applicable and not explicitly disabled via
- // instrumentation configuration.
- // Stability: stable
- // Examples: 'SELECT * FROM wuser_table', 'SET mykey "WuValue"'
- // Note: The value may be sanitized to exclude sensitive information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBStatement = "db.statement"
- // The name of the operation being executed, e.g. the MongoDB command name such as
- // findAndModify, or the SQL keyword.
- //
- // Type: string
- // Required: Required, if `db.statement` is not applicable.
- // Stability: stable
- // Examples: 'findAndModify', 'HMSET', 'SELECT'
- // Note: When setting this to an SQL keyword, it is not recommended to attempt any
- // client-side parsing of db.statement just to get this property, but it should be
- // set if the operation name is provided by the library being instrumented. If the
- // SQL statement has an ambiguous operation, or performs more than one operation,
- // this value may be omitted.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBOperation = "db.operation"
-)
-
-const (
- // Some other SQL database. Fallback only. See notes
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOtherSQL = "other_sql"
- // Microsoft SQL Server
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMSSQL = "mssql"
- // MySQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMySQL = "mysql"
- // Oracle Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOracle = "oracle"
- // IBM DB2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDB2 = "db2"
- // PostgreSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPostgreSQL = "postgresql"
- // Amazon Redshift
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedshift = "redshift"
- // Apache Hive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHive = "hive"
- // Cloudscape
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCloudscape = "cloudscape"
- // HyperSQL DataBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHSQLDB = "hsqldb"
- // Progress Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemProgress = "progress"
- // SAP MaxDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMaxDB = "maxdb"
- // SAP HANA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHanaDB = "hanadb"
- // Ingres
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemIngres = "ingres"
- // FirstSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirstSQL = "firstsql"
- // EnterpriseDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemEDB = "edb"
- // InterSystems CachΓ©
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCache = "cache"
- // Adabas (Adaptable Database System)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemAdabas = "adabas"
- // Firebird
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirebird = "firebird"
- // Apache Derby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDerby = "derby"
- // FileMaker
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFilemaker = "filemaker"
- // Informix
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInformix = "informix"
- // InstantDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInstantDB = "instantdb"
- // InterBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInterbase = "interbase"
- // MariaDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMariaDB = "mariadb"
- // Netezza
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNetezza = "netezza"
- // Pervasive PSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPervasive = "pervasive"
- // PointBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPointbase = "pointbase"
- // SQLite
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSqlite = "sqlite"
- // Sybase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSybase = "sybase"
- // Teradata
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemTeradata = "teradata"
- // Vertica
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemVertica = "vertica"
- // H2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemH2 = "h2"
- // ColdFusion IMQ
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemColdfusion = "coldfusion"
- // Apache Cassandra
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCassandra = "cassandra"
- // Apache HBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHBase = "hbase"
- // MongoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMongoDB = "mongodb"
- // Redis
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedis = "redis"
- // Couchbase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchbase = "couchbase"
- // CouchDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchDB = "couchdb"
- // Microsoft Azure Cosmos DB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCosmosDB = "cosmosdb"
- // Amazon DynamoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDynamoDB = "dynamodb"
- // Neo4j
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNeo4j = "neo4j"
- // Apache Geode
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemGeode = "geode"
- // Elasticsearch
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemElasticsearch = "elasticsearch"
- // Memcached
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMemcached = "memcached"
- // CockroachDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCockroachdb = "cockroachdb"
-)
-
-// Connection-level attributes for Microsoft SQL Server
-const (
- // The Microsoft SQL Server instance name connecting to. This name is used to
- // determine the port of a named instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MSSQLSERVER'
- // Note: If setting a db.mssql.instance_name, net.peer.port is no longer required
- // (but still recommended if non-standard).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMSSQLInstanceName = "db.mssql.instance_name"
-)
-
-// Call-level attributes for Cassandra
-const (
- // The name of the keyspace being accessed. To be used instead of the generic
- // db.name attribute.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'mykeyspace'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraKeyspace = "db.cassandra.keyspace"
- // The fetch size used for paging, i.e. how many rows will be returned at once.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5000
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraPageSize = "db.cassandra.page_size"
- // The consistency level of the query. Based on consistency values from CQL.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevel = "db.cassandra.consistency_level"
- // The name of the primary table that the operation is acting upon, including the
- // schema name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'mytable'
- // Note: This mirrors the db.sql.table attribute but references cassandra rather
- // than sql. It is not recommended to attempt any client-side parsing of
- // db.statement just to get this property, but it should be set if it is provided
- // by the library being instrumented. If the operation is acting upon an anonymous
- // table, or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraTable = "db.cassandra.table"
- // Whether or not the query is idempotent.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraIdempotence = "db.cassandra.idempotence"
- // The number of times a query was speculatively executed. Not set or 0 if the
- // query was not executed speculatively.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 0, 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraSpeculativeExecutionCount = "db.cassandra.speculative_execution_count"
- // The ID of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'be13faa2-8574-4d71-926d-27f16cf8a7af'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorID = "db.cassandra.coordinator.id"
- // The data center of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'us-west-2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorDC = "db.cassandra.coordinator.dc"
-)
-
-const (
- // all
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAll = "all"
- // each_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelEachQuorum = "each_quorum"
- // quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelQuorum = "quorum"
- // local_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalQuorum = "local_quorum"
- // one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelOne = "one"
- // two
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelTwo = "two"
- // three
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelThree = "three"
- // local_one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalOne = "local_one"
- // any
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAny = "any"
- // serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelSerial = "serial"
- // local_serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalSerial = "local_serial"
-)
-
-// Call-level attributes for Apache HBase
-const (
- // The HBase namespace being accessed. To be used instead of the generic db.name
- // attribute.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'default'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBHBaseNamespace = "db.hbase.namespace"
-)
-
-// Call-level attributes for Redis
-const (
- // The index of the database being accessed as used in the SELECT command,
- // provided as an integer. To be used instead of the generic db.name attribute.
- //
- // Type: int
- // Required: Required, if other than the default database (`0`).
- // Stability: stable
- // Examples: 0, 1, 15
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBRedisDBIndex = "db.redis.database_index"
-)
-
-// Call-level attributes for MongoDB
-const (
- // The collection being accessed within the database stated in db.name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'customers', 'products'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMongoDBCollection = "db.mongodb.collection"
-)
-
-// Call-level attrbiutes for SQL databases
-const (
- // The name of the primary table that the operation is acting upon, including the
- // schema name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'public.users', 'customers'
- // Note: It is not recommended to attempt any client-side parsing of db.statement
- // just to get this property, but it should be set if it is provided by the
- // library being instrumented. If the operation is acting upon an anonymous table,
- // or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSQLTable = "db.sql.table"
-)
-
-// This document defines the attributes used to report a single exception associated with a span.
-const (
- // The type of the exception (its fully-qualified class name, if applicable). The
- // dynamic type of the exception should be preferred over the static type in
- // languages that support it.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'java.net.ConnectException', 'OSError'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionType = "exception.type"
- // The exception message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Division by zero', "Can't convert 'int' object to str implicitly"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionMessage = "exception.message"
- // A stacktrace as a string in the natural representation for the language
- // runtime. The representation is to be determined and documented by each language
- // SIG.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Exception in thread "main" java.lang.RuntimeException: Test
- // exception\\n at '
- // 'com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at '
- // 'com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at '
- // 'com.example.GenerateTrace.main(GenerateTrace.java:5)'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionStacktrace = "exception.stacktrace"
- // SHOULD be set to true if the exception event is recorded at a point where it is
- // known that the exception is escaping the scope of the span.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Note: An exception is considered to have escaped (or left) the scope of a span,
- // if that span is ended while the exception is still logically "in
- // flight".
- // This may be actually "in flight" in some languages (e.g. if the
- // exception
- // is passed to a Context manager's __exit__ method in Python) but will
- // usually be caught at the point of recording the exception in most languages.It
- // is usually not possible to determine at the point where an exception is thrown
- // whether it will escape the scope of a span.
- // However, it is trivial to know that an exception
- // will escape, if one checks for an active exception just before ending the span,
- // as done in the example above.It follows that an exception may still escape the
- // scope of the span
- // even if the exception.escaped attribute was not set or set to false,
- // since the event might have been recorded at a time where it was not
- // clear whether the exception will escape.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionEscaped = "exception.escaped"
-)
-
-// This semantic convention describes an instance of a function that runs without provisioning or managing of servers (also known as serverless functions or Function as a Service (FaaS)) with spans.
-const (
- // Type of the trigger on which the function is executed.
- //
- // Type: Enum
- // Required: On FaaS instances, faas.trigger MUST be set on incoming invocations.
- // Clients invoking FaaS instances MUST set `faas.trigger` on outgoing
- // invocations, if it is known to the client. This is, for example, not the case,
- // when the transport layer is abstracted in a FaaS client framework without
- // access to its configuration.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTrigger = "faas.trigger"
- // The execution ID of the current function execution.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'af9d5aa4-a685-4c5f-a22b-444f80b3cc28'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSExecution = "faas.execution"
-)
-
-const (
- // A response to some data source operation such as a database or filesystem read/write
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerDatasource = "datasource"
- // To provide an answer to an inbound HTTP request
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerHTTP = "http"
- // A function is set to be executed when messages are sent to a messaging system
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerPubsub = "pubsub"
- // A function is scheduled to be executed regularly
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerTimer = "timer"
- // If none of the others apply
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerOther = "other"
-)
-
-// Semantic Convention for FaaS triggered as a response to some data source operation such as a database or filesystem read/write.
-const (
- // The name of the source on which the triggering operation was performed. For
- // example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos
- // DB to the database name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myBucketName', 'myDBName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentCollection = "faas.document.collection"
- // Describes the type of the operation that was performed on the data.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperation = "faas.document.operation"
- // A string containing the time when the data was accessed in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentTime = "faas.document.time"
- // The document name/table subjected to the operation. For example, in Cloud
- // Storage or S3 is the name of the file, and in Cosmos DB the table name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myFile.txt', 'myTableName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentName = "faas.document.name"
-)
-
-const (
- // When a new object is created
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationInsert = "insert"
- // When an object is modified
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationEdit = "edit"
- // When an object is deleted
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationDelete = "delete"
-)
-
-// Semantic Convention for FaaS scheduled to be executed regularly.
-const (
- // A string containing the function invocation time in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTime = "faas.time"
- // A string containing the schedule period as Cron Expression.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0/5 * * * ? *'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSCron = "faas.cron"
-)
-
-// Contains additional attributes for incoming FaaS spans.
-const (
- // A boolean that is true if the serverless function is executed for the first
- // time (aka cold-start).
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSColdstart = "faas.coldstart"
-)
-
-// Contains additional attributes for outgoing FaaS spans.
-const (
- // The name of the invoked function.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'my-function'
- // Note: SHOULD be equal to the faas.name resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedName = "faas.invoked_name"
- // The cloud provider of the invoked function.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Note: SHOULD be equal to the cloud.provider resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProvider = "faas.invoked_provider"
- // The cloud region of the invoked function.
- //
- // Type: string
- // Required: For some cloud providers, like AWS or GCP, the region in which a
- // function is hosted is essential to uniquely identify the function and also part
- // of its endpoint. Since it's part of the endpoint being called, the region is
- // always known to clients. In these cases, `faas.invoked_region` MUST be set
- // accordingly. If the region is unknown to the client or not required for
- // identifying the invoked function, setting `faas.invoked_region` is optional.
- // Stability: stable
- // Examples: 'eu-central-1'
- // Note: SHOULD be equal to the cloud.region resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedRegion = "faas.invoked_region"
-)
-
-const (
- // Alibaba Cloud
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAlibabaCloud = "alibaba_cloud"
- // Amazon Web Services
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAWS = "aws"
- // Microsoft Azure
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAzure = "azure"
- // Google Cloud Platform
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderGCP = "gcp"
-)
-
-// These attributes may be used for any network related operation.
-const (
- // Transport protocol used. See note below.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransport = "net.transport"
- // Remote address of the peer (dotted decimal for IPv4 or RFC5952 for IPv6)
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '127.0.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerIP = "net.peer.ip"
- // Remote port number.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 80, 8080, 443
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerPort = "net.peer.port"
- // Remote hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerName = "net.peer.name"
- // Like net.peer.ip but for the host IP. Useful in case of a multi-IP host.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '192.168.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostIP = "net.host.ip"
- // Like net.peer.port but for the host port.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 35555
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostPort = "net.host.port"
- // Local hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'localhost'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostName = "net.host.name"
- // The internet connection type currently being used by the host.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Examples: 'wifi'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionType = "net.host.connection.type"
- // This describes more details regarding the connection.type. It may be the type
- // of cell technology connection, but it could be used for describing details
- // about a wifi connection.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Examples: 'LTE'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtype = "net.host.connection.subtype"
- // The name of the mobile carrier.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'sprint'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierName = "net.host.carrier.name"
- // The mobile carrier country code.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '310'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierMcc = "net.host.carrier.mcc"
- // The mobile carrier network code.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '001'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierMnc = "net.host.carrier.mnc"
- // The ISO 3166-1 alpha-2 2-character country code associated with the mobile
- // carrier network.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'DE'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierIcc = "net.host.carrier.icc"
-)
-
-const (
- // ip_tcp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportTCP = "ip_tcp"
- // ip_udp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUDP = "ip_udp"
- // Another IP-based protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportIP = "ip"
- // Unix Domain socket. See below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUnix = "unix"
- // Named or anonymous pipe. See note below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportPipe = "pipe"
- // In-process communication
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportInProc = "inproc"
- // Something else (non IP-based)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportOther = "other"
-)
-
-const (
- // wifi
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeWifi = "wifi"
- // wired
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeWired = "wired"
- // cell
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeCell = "cell"
- // unavailable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeUnavailable = "unavailable"
- // unknown
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeUnknown = "unknown"
-)
-
-const (
- // GPRS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeGprs = "gprs"
- // EDGE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEdge = "edge"
- // UMTS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeUmts = "umts"
- // CDMA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeCdma = "cdma"
- // EVDO Rel. 0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdo0 = "evdo_0"
- // EVDO Rev. A
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdoA = "evdo_a"
- // CDMA2000 1XRTT
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeCdma20001xrtt = "cdma2000_1xrtt"
- // HSDPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHsdpa = "hsdpa"
- // HSUPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHsupa = "hsupa"
- // HSPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHspa = "hspa"
- // IDEN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeIden = "iden"
- // EVDO Rev. B
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdoB = "evdo_b"
- // LTE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeLte = "lte"
- // EHRPD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEhrpd = "ehrpd"
- // HSPAP
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHspap = "hspap"
- // GSM
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeGsm = "gsm"
- // TD-SCDMA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeTdScdma = "td_scdma"
- // IWLAN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeIwlan = "iwlan"
- // 5G NR (New Radio)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeNr = "nr"
- // 5G NRNSA (New Radio Non-Standalone)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeNrnsa = "nrnsa"
- // LTE CA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeLteCa = "lte_ca"
-)
-
-// Operations that access some remote service.
-const (
- // The service.name of the remote service. SHOULD be equal to the actual
- // service.name resource attribute of the remote service if any.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AuthTokenCache'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributePeerService = "peer.service"
-)
-
-// These attributes may be used for any operation with an authenticated and/or authorized enduser.
-const (
- // Username or client_id extracted from the access token or Authorization header
- // in the inbound request from outside the system.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'username'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserID = "enduser.id"
- // Actual/assumed role the client is making the request under extracted from token
- // or application security context.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'admin'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserRole = "enduser.role"
- // Scopes or granted authorities the client currently possesses extracted from
- // token or application security context. The value would come from the scope
- // associated with an OAuth 2.0 Access Token or an attribute value in a SAML 2.0
- // Assertion.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'read:message, write:files'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserScope = "enduser.scope"
-)
-
-// These attributes may be used for any operation to store information about a thread that started a span.
-const (
- // Current "managed" thread ID (as opposed to OS thread ID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadID = "thread.id"
- // Current thread name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'main'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadName = "thread.name"
-)
-
-// These attributes allow to report this unit of code and therefore to provide more context about the span.
-const (
- // The method or function name, or equivalent (usually rightmost part of the code
- // unit's name).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'serveRequest'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFunction = "code.function"
- // The "namespace" within which code.function is defined. Usually the
- // qualified class or module name, such that code.namespace + some separator +
- // code.function form a unique identifier for the code unit.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'com.example.MyHTTPService'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeNamespace = "code.namespace"
- // The source code file name that identifies the code unit as uniquely as possible
- // (preferably an absolute file path).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/usr/local/MyApplication/content_root/app/index.php'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFilepath = "code.filepath"
- // The line number in code.filepath best representing the operation. It SHOULD
- // point within the code unit named in code.function.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeLineNumber = "code.lineno"
-)
-
-// This document defines semantic conventions for HTTP client and server Spans.
-const (
- // HTTP request method.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'GET', 'POST', 'HEAD'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPMethod = "http.method"
- // Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment].
- // Usually the fragment is not transmitted over HTTP, but if it is known, it
- // should be included nevertheless.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'https://www.foo.bar/search?q=OpenTelemetry#SemConv'
- // Note: http.url MUST NOT contain credentials passed via URL in form of
- // https://username:password@www.example.com/. In such case the attribute's value
- // should be https://www.example.com/.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPURL = "http.url"
- // The full request target as passed in a HTTP request line or equivalent.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/path/12314/?q=ddds#123'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPTarget = "http.target"
- // The value of the HTTP host header. When the header is empty or not present,
- // this attribute should be the same.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'www.example.org'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPHost = "http.host"
- // The URI scheme identifying the used protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'http', 'https'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPScheme = "http.scheme"
- // HTTP response status code.
- //
- // Type: int
- // Required: If and only if one was received/sent.
- // Stability: stable
- // Examples: 200
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPStatusCode = "http.status_code"
- // Kind of HTTP protocol used.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Note: If net.transport is not specified, it can be assumed to be IP.TCP except
- // if http.flavor is QUIC, in which case IP.UDP is assumed.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavor = "http.flavor"
- // Value of the HTTP User-Agent header sent by the client.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'CERN-LineMode/2.15 libwww/2.17b3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPUserAgent = "http.user_agent"
- // The size of the request payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLength = "http.request_content_length"
- // The size of the uncompressed request payload body after transport decoding. Not
- // set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLengthUncompressed = "http.request_content_length_uncompressed"
- // The size of the response payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLength = "http.response_content_length"
- // The size of the uncompressed response payload body after transport decoding.
- // Not set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLengthUncompressed = "http.response_content_length_uncompressed"
-)
-
-const (
- // HTTP 1.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP10 = "1.0"
- // HTTP 1.1
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP11 = "1.1"
- // HTTP 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP20 = "2.0"
- // SPDY protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorSPDY = "SPDY"
- // QUIC protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorQUIC = "QUIC"
-)
-
-// Semantic Convention for HTTP Server
-const (
- // The primary server name of the matched virtual host. This should be obtained
- // via configuration. If no such configuration can be obtained, this attribute
- // MUST NOT be set ( net.host.name should be used instead).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Note: http.url is usually not readily available on the server side but would
- // have to be assembled in a cumbersome and sometimes lossy process from other
- // information (see e.g. open-telemetry/opentelemetry-python/pull/148). It is thus
- // preferred to supply the raw data that is available.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPServerName = "http.server_name"
- // The matched route (path template).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/users/:userID?'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRoute = "http.route"
- // The IP address of the original client behind all proxies, if known (e.g. from
- // X-Forwarded-For).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '83.164.160.102'
- // Note: This is not necessarily the same as net.peer.ip, which would identify the
- // network-level peer, which may be a proxy.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPClientIP = "http.client_ip"
-)
-
-// Attributes that exist for multiple DynamoDB request types.
-const (
- // The keys in the RequestItems object field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'Cats'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableNames = "aws.dynamodb.table_names"
- // The JSON-serialized value of each item in the ConsumedCapacity response field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : {
- // "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number } },
- // "ReadCapacityUnits": number, "Table": { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName":
- // "string", "WriteCapacityUnits": number }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsumedCapacity = "aws.dynamodb.consumed_capacity"
- // The JSON-serialized value of the ItemCollectionMetrics response field.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob,
- // "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" :
- // "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S":
- // "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBItemCollectionMetrics = "aws.dynamodb.item_collection_metrics"
- // The value of the ProvisionedThroughput.ReadCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedReadCapacity = "aws.dynamodb.provisioned_read_capacity"
- // The value of the ProvisionedThroughput.WriteCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedWriteCapacity = "aws.dynamodb.provisioned_write_capacity"
- // The value of the ConsistentRead request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsistentRead = "aws.dynamodb.consistent_read"
- // The value of the ProjectionExpression request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Title', 'Title, Price, Color', 'Title, Description, RelatedItems,
- // ProductReviews'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProjection = "aws.dynamodb.projection"
- // The value of the Limit request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLimit = "aws.dynamodb.limit"
- // The value of the AttributesToGet request parameter.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'lives', 'id'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributesToGet = "aws.dynamodb.attributes_to_get"
- // The value of the IndexName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'name_to_group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBIndexName = "aws.dynamodb.index_name"
- // The value of the Select request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ALL_ATTRIBUTES', 'COUNT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSelect = "aws.dynamodb.select"
-)
-
-// DynamoDB.CreateTable
-const (
- // The JSON-serialized value of each item of the GlobalSecondaryIndexes request
- // field
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexName": "string", "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits":
- // number, "WriteCapacityUnits": number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexes = "aws.dynamodb.global_secondary_indexes"
- // The JSON-serialized value of each item of the LocalSecondaryIndexes request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexARN": "string", "IndexName": "string", "IndexSizeBytes":
- // number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLocalSecondaryIndexes = "aws.dynamodb.local_secondary_indexes"
-)
-
-// DynamoDB.ListTables
-const (
- // The value of the ExclusiveStartTableName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'CatsTable'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBExclusiveStartTable = "aws.dynamodb.exclusive_start_table"
- // The the number of items in the TableNames response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 20
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableCount = "aws.dynamodb.table_count"
-)
-
-// DynamoDB.Query
-const (
- // The value of the ScanIndexForward request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScanForward = "aws.dynamodb.scan_forward"
-)
-
-// DynamoDB.Scan
-const (
- // The value of the Segment request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSegment = "aws.dynamodb.segment"
- // The value of the TotalSegments request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTotalSegments = "aws.dynamodb.total_segments"
- // The value of the Count response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBCount = "aws.dynamodb.count"
- // The value of the ScannedCount response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 50
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScannedCount = "aws.dynamodb.scanned_count"
-)
-
-// DynamoDB.UpdateTable
-const (
- // The JSON-serialized value of each item in the AttributeDefinitions request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributeDefinitions = "aws.dynamodb.attribute_definitions"
- // The JSON-serialized value of each item in the the GlobalSecondaryIndexUpdates
- // request field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "Create": { "IndexName": "string", "KeySchema": [ {
- // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
- // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" },
- // "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates = "aws.dynamodb.global_secondary_index_updates"
-)
-
-// This document defines the attributes used in messaging systems.
-const (
- // A string identifying the messaging system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'kafka', 'rabbitmq', 'activemq', 'AmazonSQS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingSystem = "messaging.system"
- // The message destination name. This might be equal to the span name but is
- // required nevertheless.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'MyQueue', 'MyTopic'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestination = "messaging.destination"
- // The kind of message destination
- //
- // Type: Enum
- // Required: Required only if the message destination is either a `queue` or
- // `topic`.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKind = "messaging.destination_kind"
- // A boolean that is true if the message destination is temporary.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingTempDestination = "messaging.temp_destination"
- // The name of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AMQP', 'MQTT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocol = "messaging.protocol"
- // The version of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.9.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocolVersion = "messaging.protocol_version"
- // Connection string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'tibjmsnaming://localhost:7222',
- // 'https://queue.amazonaws.com/80398EXAMPLE/MyQueue'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingURL = "messaging.url"
- // A value used by the messaging system as an identifier for the message,
- // represented as a string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '452a7c7c7c7048c2f887f61572b18fc2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessageID = "messaging.message_id"
- // The conversation ID identifying the conversation to which the message belongs,
- // represented as a string. Sometimes called "Correlation ID".
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MyConversationID'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingConversationID = "messaging.conversation_id"
- // The (uncompressed) size of the message payload in bytes. Also use this
- // attribute if it is unknown whether the compressed or uncompressed payload size
- // is reported.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2738
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadSizeBytes = "messaging.message_payload_size_bytes"
- // The compressed size of the message payload in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2048
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadCompressedSizeBytes = "messaging.message_payload_compressed_size_bytes"
-)
-
-const (
- // A message sent to a queue
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindQueue = "queue"
- // A message sent to a topic
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindTopic = "topic"
-)
-
-// Semantic convention for a consumer of messages received from a messaging system
-const (
- // A string identifying the kind of message consumption as defined in the
- // Operation names section above. If the operation is "send", this
- // attribute MUST NOT be set, since the operation can be inferred from the span
- // kind in that case.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperation = "messaging.operation"
-)
-
-const (
- // receive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationReceive = "receive"
- // process
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationProcess = "process"
-)
-
-// Attributes for RabbitMQ
-const (
- // RabbitMQ message routing key.
- //
- // Type: string
- // Required: Unless it is empty.
- // Stability: stable
- // Examples: 'myKey'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRabbitmqRoutingKey = "messaging.rabbitmq.routing_key"
-)
-
-// Attributes for Apache Kafka
-const (
- // Message keys in Kafka are used for grouping alike messages to ensure they're
- // processed on the same partition. They differ from messaging.message_id in that
- // they're not unique. If the key is null, the attribute MUST NOT be set.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myKey'
- // Note: If the key type is not string, it's string representation has to be
- // supplied for the attribute. If the key has no unambiguous, canonical string
- // form, don't include its value.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaMessageKey = "messaging.kafka.message_key"
- // Name of the Kafka Consumer Group that is handling the message. Only applies to
- // consumers, not producers.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'my-group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaConsumerGroup = "messaging.kafka.consumer_group"
- // Client ID for the Consumer or Producer that is handling the message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'client-5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaClientID = "messaging.kafka.client_id"
- // Partition the message is sent to.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaPartition = "messaging.kafka.partition"
- // A boolean that is true if the message is a tombstone.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaTombstone = "messaging.kafka.tombstone"
-)
-
-// This document defines semantic conventions for remote procedure calls.
-const (
- // A string identifying the remoting system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'grpc', 'java_rmi', 'wcf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCSystem = "rpc.system"
- // The full (logical) name of the service being called, including its package
- // name, if applicable.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'myservice.EchoService'
- // Note: This is the logical name of the service from the RPC interface
- // perspective, which can be different from the name of any implementing class.
- // The code.namespace attribute may be used to store the latter (despite the
- // attribute name, it may include a class name; e.g., class with method actually
- // executing the call on the server side, RPC client stub class on the client
- // side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCService = "rpc.service"
- // The name of the (logical) method being called, must be equal to the $method
- // part in the span name.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'exampleMethod'
- // Note: This is the logical name of the method from the RPC interface
- // perspective, which can be different from the name of any implementing
- // method/function. The code.function attribute may be used to store the latter
- // (e.g., method actually executing the call on the server side, RPC client stub
- // method on the client side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCMethod = "rpc.method"
-)
-
-// Tech-specific attributes for gRPC.
-const (
- // The numeric status code of the gRPC request.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCode = "rpc.grpc.status_code"
-)
-
-const (
- // OK
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOk = "0"
- // CANCELLED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeCancelled = "1"
- // UNKNOWN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnknown = "2"
- // INVALID_ARGUMENT
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInvalidArgument = "3"
- // DEADLINE_EXCEEDED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDeadlineExceeded = "4"
- // NOT_FOUND
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeNotFound = "5"
- // ALREADY_EXISTS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAlreadyExists = "6"
- // PERMISSION_DENIED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodePermissionDenied = "7"
- // RESOURCE_EXHAUSTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeResourceExhausted = "8"
- // FAILED_PRECONDITION
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeFailedPrecondition = "9"
- // ABORTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAborted = "10"
- // OUT_OF_RANGE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOutOfRange = "11"
- // UNIMPLEMENTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnimplemented = "12"
- // INTERNAL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInternal = "13"
- // UNAVAILABLE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnavailable = "14"
- // DATA_LOSS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDataLoss = "15"
- // UNAUTHENTICATED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnauthenticated = "16"
-)
-
-// Tech-specific attributes for [JSON RPC](https://www.jsonrpc.org/).
-const (
- // Protocol version as in jsonrpc property of request/response. Since JSON-RPC 1.0
- // does not specify this, the value can be omitted.
- //
- // Type: string
- // Required: If missing, it is assumed to be "1.0".
- // Stability: stable
- // Examples: '2.0', '1.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcVersion = "rpc.jsonrpc.version"
- // id property of request or response. Since protocol allows id to be int, string,
- // null or missing (for notifications), value is expected to be cast to string for
- // simplicity. Use empty string in case of null value. Omit entirely if this is a
- // notification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '10', 'request-7', ''
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcRequestID = "rpc.jsonrpc.request_id"
- // error.code property of response if it is an error response.
- //
- // Type: int
- // Required: If missing, response is assumed to be successful.
- // Stability: stable
- // Examples: -32700, 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorCode = "rpc.jsonrpc.error_code"
- // error.message property of response if it is an error response.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Parse error', 'User already exists'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorMessage = "rpc.jsonrpc.error_message"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetTraceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeAWSLambdaInvokedARN,
- AttributeDBSystem,
- AttributeDBConnectionString,
- AttributeDBUser,
- AttributeDBJDBCDriverClassname,
- AttributeDBName,
- AttributeDBStatement,
- AttributeDBOperation,
- AttributeDBMSSQLInstanceName,
- AttributeDBCassandraKeyspace,
- AttributeDBCassandraPageSize,
- AttributeDBCassandraConsistencyLevel,
- AttributeDBCassandraTable,
- AttributeDBCassandraIdempotence,
- AttributeDBCassandraSpeculativeExecutionCount,
- AttributeDBCassandraCoordinatorID,
- AttributeDBCassandraCoordinatorDC,
- AttributeDBHBaseNamespace,
- AttributeDBRedisDBIndex,
- AttributeDBMongoDBCollection,
- AttributeDBSQLTable,
- AttributeExceptionType,
- AttributeExceptionMessage,
- AttributeExceptionStacktrace,
- AttributeExceptionEscaped,
- AttributeFaaSTrigger,
- AttributeFaaSExecution,
- AttributeFaaSDocumentCollection,
- AttributeFaaSDocumentOperation,
- AttributeFaaSDocumentTime,
- AttributeFaaSDocumentName,
- AttributeFaaSTime,
- AttributeFaaSCron,
- AttributeFaaSColdstart,
- AttributeFaaSInvokedName,
- AttributeFaaSInvokedProvider,
- AttributeFaaSInvokedRegion,
- AttributeNetTransport,
- AttributeNetPeerIP,
- AttributeNetPeerPort,
- AttributeNetPeerName,
- AttributeNetHostIP,
- AttributeNetHostPort,
- AttributeNetHostName,
- AttributeNetHostConnectionType,
- AttributeNetHostConnectionSubtype,
- AttributeNetHostCarrierName,
- AttributeNetHostCarrierMcc,
- AttributeNetHostCarrierMnc,
- AttributeNetHostCarrierIcc,
- AttributePeerService,
- AttributeEnduserID,
- AttributeEnduserRole,
- AttributeEnduserScope,
- AttributeThreadID,
- AttributeThreadName,
- AttributeCodeFunction,
- AttributeCodeNamespace,
- AttributeCodeFilepath,
- AttributeCodeLineNumber,
- AttributeHTTPMethod,
- AttributeHTTPURL,
- AttributeHTTPTarget,
- AttributeHTTPHost,
- AttributeHTTPScheme,
- AttributeHTTPStatusCode,
- AttributeHTTPFlavor,
- AttributeHTTPUserAgent,
- AttributeHTTPRequestContentLength,
- AttributeHTTPRequestContentLengthUncompressed,
- AttributeHTTPResponseContentLength,
- AttributeHTTPResponseContentLengthUncompressed,
- AttributeHTTPServerName,
- AttributeHTTPRoute,
- AttributeHTTPClientIP,
- AttributeAWSDynamoDBTableNames,
- AttributeAWSDynamoDBConsumedCapacity,
- AttributeAWSDynamoDBItemCollectionMetrics,
- AttributeAWSDynamoDBProvisionedReadCapacity,
- AttributeAWSDynamoDBProvisionedWriteCapacity,
- AttributeAWSDynamoDBConsistentRead,
- AttributeAWSDynamoDBProjection,
- AttributeAWSDynamoDBLimit,
- AttributeAWSDynamoDBAttributesToGet,
- AttributeAWSDynamoDBIndexName,
- AttributeAWSDynamoDBSelect,
- AttributeAWSDynamoDBGlobalSecondaryIndexes,
- AttributeAWSDynamoDBLocalSecondaryIndexes,
- AttributeAWSDynamoDBExclusiveStartTable,
- AttributeAWSDynamoDBTableCount,
- AttributeAWSDynamoDBScanForward,
- AttributeAWSDynamoDBSegment,
- AttributeAWSDynamoDBTotalSegments,
- AttributeAWSDynamoDBCount,
- AttributeAWSDynamoDBScannedCount,
- AttributeAWSDynamoDBAttributeDefinitions,
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates,
- AttributeMessagingSystem,
- AttributeMessagingDestination,
- AttributeMessagingDestinationKind,
- AttributeMessagingTempDestination,
- AttributeMessagingProtocol,
- AttributeMessagingProtocolVersion,
- AttributeMessagingURL,
- AttributeMessagingMessageID,
- AttributeMessagingConversationID,
- AttributeMessagingMessagePayloadSizeBytes,
- AttributeMessagingMessagePayloadCompressedSizeBytes,
- AttributeMessagingOperation,
- AttributeMessagingRabbitmqRoutingKey,
- AttributeMessagingKafkaMessageKey,
- AttributeMessagingKafkaConsumerGroup,
- AttributeMessagingKafkaClientID,
- AttributeMessagingKafkaPartition,
- AttributeMessagingKafkaTombstone,
- AttributeRPCSystem,
- AttributeRPCService,
- AttributeRPCMethod,
- AttributeRPCGRPCStatusCode,
- AttributeRPCJsonrpcVersion,
- AttributeRPCJsonrpcRequestID,
- AttributeRPCJsonrpcErrorCode,
- AttributeRPCJsonrpcErrorMessage,
- }
-}
diff --git a/model/semconv/v1.6.1/nonstandard.go b/model/semconv/v1.6.1/nonstandard.go
deleted file mode 100644
index ab69b60bb5e..00000000000
--- a/model/semconv/v1.6.1/nonstandard.go
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.6.1"
-
-const (
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelLibraryName = "otel.library.name"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelLibraryVersion = "otel.library.version"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusCode = "otel.status_code"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusDescription = "otel.status_description"
-)
diff --git a/model/semconv/v1.6.1/schema.go b/model/semconv/v1.6.1/schema.go
deleted file mode 100644
index 56e5911d68f..00000000000
--- a/model/semconv/v1.6.1/schema.go
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.6.1"
-
-// SchemaURL is the schema URL that matches the version of the semantic conventions
-// that this package defines. Conventions packages starting from v1.4.0 must declare
-// non-empty schema URL in the form https://opentelemetry.io/schemas/
- //
- // Take care not to use the "invoked ARN" directly but replace any
- // alias suffix with the resolved function version, as the same runtime instance
- // may be invokable with multiple
- // different aliases.
- //
- // On some providers, it may not be possible to determine the full ID at startup,
- // which is why this field cannot be made required. For example, on AWS the
- // account ID
- // part of the ARN is not available without calling another AWS API
- // which may be deemed too slow for a short-running lambda function.
- // As an alternative, consider setting faas.id as a span attribute instead.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSID = "faas.id"
- // The immutable version of the function being executed.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '26', 'pinkfroid-00002'
- // Note: Depending on the cloud provider and platform, use:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSVersion = "faas.version"
- // The execution environment ID as a string, that will be potentially reused for
- // other invocations to the same function/function version.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de'
- // Note:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInstance = "faas.instance"
- // The amount of memory available to the serverless function in MiB.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 128
- // Note: It's recommended to set this attribute since e.g. too little memory can
- // easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
- // the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
- // information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSMaxMemory = "faas.max_memory"
-)
-
-// A host is defined as a general computing instance.
-const (
- // Unique host ID. For Cloud, this must be the instance_id assigned by the cloud
- // provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostID = "host.id"
- // Name of the host. On Unix systems, it may contain what the hostname command
- // returns, or the fully qualified hostname, or another name specified by the
- // user.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostName = "host.name"
- // Type of host. For Cloud, this must be the machine type.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'n1-standard-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostType = "host.type"
- // The CPU architecture the host system is running on.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArch = "host.arch"
- // Name of the VM image or OS install the host was instantiated from.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageName = "host.image.name"
- // VM image ID. For Cloud, this value is from the provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ami-07b06b442921831e5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageID = "host.image.id"
- // The version string of the VM image as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageVersion = "host.image.version"
-)
-
-const (
- // AMD64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchAMD64 = "amd64"
- // ARM32
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM32 = "arm32"
- // ARM64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM64 = "arm64"
- // Itanium
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchIA64 = "ia64"
- // 32-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC32 = "ppc32"
- // 64-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC64 = "ppc64"
- // 32-bit x86
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchX86 = "x86"
-)
-
-// A Kubernetes Cluster.
-const (
- // The name of the cluster.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-cluster'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SClusterName = "k8s.cluster.name"
-)
-
-// A Kubernetes Node object.
-const (
- // The name of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'node-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeName = "k8s.node.name"
- // The UID of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeUID = "k8s.node.uid"
-)
-
-// A Kubernetes Namespace.
-const (
- // The name of the namespace that the pod is running in.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'default'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNamespaceName = "k8s.namespace.name"
-)
-
-// A Kubernetes Pod object.
-const (
- // The UID of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodUID = "k8s.pod.uid"
- // The name of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-pod-autoconf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodName = "k8s.pod.name"
-)
-
-// A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
-const (
- // The name of the Container in a Pod template.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'redis'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SContainerName = "k8s.container.name"
-)
-
-// A Kubernetes ReplicaSet object.
-const (
- // The UID of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
- // The name of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetName = "k8s.replicaset.name"
-)
-
-// A Kubernetes Deployment object.
-const (
- // The UID of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentUID = "k8s.deployment.uid"
- // The name of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentName = "k8s.deployment.name"
-)
-
-// A Kubernetes StatefulSet object.
-const (
- // The UID of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
- // The name of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetName = "k8s.statefulset.name"
-)
-
-// A Kubernetes DaemonSet object.
-const (
- // The UID of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
- // The name of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetName = "k8s.daemonset.name"
-)
-
-// A Kubernetes Job object.
-const (
- // The UID of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobUID = "k8s.job.uid"
- // The name of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobName = "k8s.job.name"
-)
-
-// A Kubernetes CronJob object.
-const (
- // The UID of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobUID = "k8s.cronjob.uid"
- // The name of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobName = "k8s.cronjob.name"
-)
-
-// The operating system (OS) on which the process represented by this resource is running.
-const (
- // The operating system type.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSType = "os.type"
- // Human readable (not intended to be parsed) OS version information, like e.g.
- // reported by ver or lsb_release -a commands.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSDescription = "os.description"
- // Human readable operating system name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'iOS', 'Android', 'Ubuntu'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSName = "os.name"
- // The version string of the operating system as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.2.1', '18.04.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSVersion = "os.version"
-)
-
-const (
- // Microsoft Windows
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeWindows = "windows"
- // Linux
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeLinux = "linux"
- // Apple Darwin
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDarwin = "darwin"
- // FreeBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeFreeBSD = "freebsd"
- // NetBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeNetBSD = "netbsd"
- // OpenBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeOpenBSD = "openbsd"
- // DragonFly BSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDragonflyBSD = "dragonflybsd"
- // HP-UX (Hewlett Packard Unix)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeHPUX = "hpux"
- // AIX (Advanced Interactive eXecutive)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeAIX = "aix"
- // Oracle Solaris
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeSolaris = "solaris"
- // IBM z/OS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeZOS = "z_os"
-)
-
-// An operating system process.
-const (
- // Process identifier (PID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 1234
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessPID = "process.pid"
- // The name of the process executable. On Linux based systems, can be set to the
- // Name in proc/[pid]/status. On Windows, can be set to the base name of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutableName = "process.executable.name"
- // The full path to the process executable. On Linux based systems, can be set to
- // the target of proc/[pid]/exe. On Windows, can be set to the result of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: '/usr/bin/cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutablePath = "process.executable.path"
- // The command used to launch the process (i.e. the command name). On Linux based
- // systems, can be set to the zeroth string in proc/[pid]/cmdline. On Windows, can
- // be set to the first parameter extracted from GetCommandLineW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommand = "process.command"
- // The full command used to launch the process as a single string representing the
- // full command. On Windows, can be set to the result of GetCommandLineW. Do not
- // set this if you have to assemble it just for monitoring; use
- // process.command_args instead.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandLine = "process.command_line"
- // All the command arguments (including the command/executable itself) as received
- // by the process. On Linux-based systems (and some other Unixoid systems
- // supporting procfs), can be set according to the list of null-delimited strings
- // extracted from proc/[pid]/cmdline. For libc-based executables, this would be
- // the full argv vector passed to main.
- //
- // Type: string[]
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otecol', '--config=config.yaml'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandArgs = "process.command_args"
- // The username of the user that owns the process.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'root'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessOwner = "process.owner"
-)
-
-// The single (language) runtime instance which is monitored.
-const (
- // The name of the runtime of this process. For compiled native binaries, this
- // SHOULD be the name of the compiler.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'OpenJDK Runtime Environment'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeName = "process.runtime.name"
- // The version of the runtime of this process, as returned by the runtime without
- // modification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.0.2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeVersion = "process.runtime.version"
- // An additional description about the runtime of the process, for example a
- // specific vendor customization of the runtime environment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeDescription = "process.runtime.description"
-)
-
-// A service instance.
-const (
- // Logical name of the service.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'shoppingcart'
- // Note: MUST be the same for all instances of horizontally scaled services. If
- // the value was not specified, SDKs MUST fallback to unknown_service:
- // concatenated with process.executable.name, e.g. unknown_service:bash. If
- // process.executable.name is not available, the value MUST be set to
- // unknown_service.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceName = "service.name"
- // A namespace for service.name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Shop'
- // Note: A string value having a meaning that helps to distinguish a group of
- // services, for example the team name that owns a group of services. service.name
- // is expected to be unique within the same namespace. If service.namespace is not
- // specified in the Resource then service.name is expected to be unique for all
- // services that have no explicit namespace defined (so the empty/unspecified
- // namespace is simply one more valid namespace). Zero-length namespace string is
- // assumed equal to unspecified namespace.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceNamespace = "service.namespace"
- // The string ID of the service instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '627cc493-f310-47de-96bd-71410b7dec09'
- // Note: MUST be unique for each instance of the same
- // service.namespace,service.name pair (in other words
- // service.namespace,service.name,service.instance.id triplet MUST be globally
- // unique). The ID helps to distinguish instances of the same service that exist
- // at the same time (e.g. instances of a horizontally scaled service). It is
- // preferable for the ID to be persistent and stay the same for the lifetime of
- // the service instance, however it is acceptable that the ID is ephemeral and
- // changes during important lifetime events for the service (e.g. service
- // restarts). If the service has no inherent unique ID that can be used as the
- // value of this attribute it is recommended to generate a random Version 1 or
- // Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
- // Version 5, see RFC 4122 for more recommendations).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceInstanceID = "service.instance.id"
- // The version string of the service API or implementation.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceVersion = "service.version"
-)
-
-// The telemetry SDK used to capture data recorded by the instrumentation libraries.
-const (
- // The name of the telemetry SDK as defined above.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKName = "telemetry.sdk.name"
- // The language of the telemetry SDK.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
- // The version string of the telemetry SDK.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKVersion = "telemetry.sdk.version"
- // The version string of the auto instrumentation agent, if used.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetryAutoVersion = "telemetry.auto.version"
-)
-
-const (
- // cpp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageCPP = "cpp"
- // dotnet
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageDotnet = "dotnet"
- // erlang
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageErlang = "erlang"
- // go
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageGo = "go"
- // java
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageJava = "java"
- // nodejs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageNodejs = "nodejs"
- // php
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePHP = "php"
- // python
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePython = "python"
- // ruby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageRuby = "ruby"
- // webjs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageWebjs = "webjs"
-)
-
-// Resource describing the packaged software running the application code. Web engines are typically executed using process.runtime.
-const (
- // The name of the web engine.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'WildFly'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineName = "webengine.name"
- // The version of the web engine.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '21.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineVersion = "webengine.version"
- // Additional description of the web engine (e.g. detailed version and edition
- // information).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineDescription = "webengine.description"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetResourceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeCloudProvider,
- AttributeCloudAccountID,
- AttributeCloudRegion,
- AttributeCloudAvailabilityZone,
- AttributeCloudPlatform,
- AttributeAWSECSContainerARN,
- AttributeAWSECSClusterARN,
- AttributeAWSECSLaunchtype,
- AttributeAWSECSTaskARN,
- AttributeAWSECSTaskFamily,
- AttributeAWSECSTaskRevision,
- AttributeAWSEKSClusterARN,
- AttributeAWSLogGroupNames,
- AttributeAWSLogGroupARNs,
- AttributeAWSLogStreamNames,
- AttributeAWSLogStreamARNs,
- AttributeContainerName,
- AttributeContainerID,
- AttributeContainerRuntime,
- AttributeContainerImageName,
- AttributeContainerImageTag,
- AttributeDeploymentEnvironment,
- AttributeDeviceID,
- AttributeDeviceModelIdentifier,
- AttributeDeviceModelName,
- AttributeFaaSName,
- AttributeFaaSID,
- AttributeFaaSVersion,
- AttributeFaaSInstance,
- AttributeFaaSMaxMemory,
- AttributeHostID,
- AttributeHostName,
- AttributeHostType,
- AttributeHostArch,
- AttributeHostImageName,
- AttributeHostImageID,
- AttributeHostImageVersion,
- AttributeK8SClusterName,
- AttributeK8SNodeName,
- AttributeK8SNodeUID,
- AttributeK8SNamespaceName,
- AttributeK8SPodUID,
- AttributeK8SPodName,
- AttributeK8SContainerName,
- AttributeK8SReplicaSetUID,
- AttributeK8SReplicaSetName,
- AttributeK8SDeploymentUID,
- AttributeK8SDeploymentName,
- AttributeK8SStatefulSetUID,
- AttributeK8SStatefulSetName,
- AttributeK8SDaemonSetUID,
- AttributeK8SDaemonSetName,
- AttributeK8SJobUID,
- AttributeK8SJobName,
- AttributeK8SCronJobUID,
- AttributeK8SCronJobName,
- AttributeOSType,
- AttributeOSDescription,
- AttributeOSName,
- AttributeOSVersion,
- AttributeProcessPID,
- AttributeProcessExecutableName,
- AttributeProcessExecutablePath,
- AttributeProcessCommand,
- AttributeProcessCommandLine,
- AttributeProcessCommandArgs,
- AttributeProcessOwner,
- AttributeProcessRuntimeName,
- AttributeProcessRuntimeVersion,
- AttributeProcessRuntimeDescription,
- AttributeServiceName,
- AttributeServiceNamespace,
- AttributeServiceInstanceID,
- AttributeServiceVersion,
- AttributeTelemetrySDKName,
- AttributeTelemetrySDKLanguage,
- AttributeTelemetrySDKVersion,
- AttributeTelemetryAutoVersion,
- AttributeWebEngineName,
- AttributeWebEngineVersion,
- AttributeWebEngineDescription,
- }
-}
diff --git a/model/semconv/v1.7.0/generated_trace.go b/model/semconv/v1.7.0/generated_trace.go
deleted file mode 100644
index 058dab79e83..00000000000
--- a/model/semconv/v1.7.0/generated_trace.go
+++ /dev/null
@@ -1,1923 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-// Code generated from semantic convention specification. DO NOT EDIT.
-
-package semconv
-
-// Span attributes used by AWS Lambda (in addition to general `faas` attributes).
-const (
- // The full invoked ARN as provided on the Context passed to the function (Lambda-
- // Runtime-Invoked-Function-ARN header on the /runtime/invocation/next
- // applicable).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'arn:aws:lambda:us-east-1:123456:function:myfunction:myalias'
- // Note: This may be different from faas.id if an alias is involved.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSLambdaInvokedARN = "aws.lambda.invoked_arn"
-)
-
-// This document defines the attributes used to perform database client calls.
-const (
- // An identifier for the database management system (DBMS) product being used. See
- // below for a list of well-known identifiers.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystem = "db.system"
- // The connection string used to connect to the database. It is recommended to
- // remove embedded credentials.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Server=(localdb)\\v11.0;Integrated Security=true;'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBConnectionString = "db.connection_string"
- // Username for accessing the database.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'readonly_user', 'reporting_user'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBUser = "db.user"
- // The fully-qualified class name of the Java Database Connectivity (JDBC) driver
- // used to connect.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'org.postgresql.Driver',
- // 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBJDBCDriverClassname = "db.jdbc.driver_classname"
- // If no tech-specific attribute is defined, this attribute is used to report the
- // name of the database being accessed. For commands that switch the database,
- // this should be set to the target database (even if the command fails).
- //
- // Type: string
- // Required: Required, if applicable and no more-specific attribute is defined.
- // Stability: stable
- // Examples: 'customers', 'main'
- // Note: In some SQL databases, the database name to be used is called
- // "schema name".
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBName = "db.name"
- // The database statement being executed.
- //
- // Type: string
- // Required: Required if applicable and not explicitly disabled via
- // instrumentation configuration.
- // Stability: stable
- // Examples: 'SELECT * FROM wuser_table', 'SET mykey "WuValue"'
- // Note: The value may be sanitized to exclude sensitive information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBStatement = "db.statement"
- // The name of the operation being executed, e.g. the MongoDB command name such as
- // findAndModify, or the SQL keyword.
- //
- // Type: string
- // Required: Required, if `db.statement` is not applicable.
- // Stability: stable
- // Examples: 'findAndModify', 'HMSET', 'SELECT'
- // Note: When setting this to an SQL keyword, it is not recommended to attempt any
- // client-side parsing of db.statement just to get this property, but it should be
- // set if the operation name is provided by the library being instrumented. If the
- // SQL statement has an ambiguous operation, or performs more than one operation,
- // this value may be omitted.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBOperation = "db.operation"
-)
-
-const (
- // Some other SQL database. Fallback only. See notes
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOtherSQL = "other_sql"
- // Microsoft SQL Server
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMSSQL = "mssql"
- // MySQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMySQL = "mysql"
- // Oracle Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOracle = "oracle"
- // IBM DB2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDB2 = "db2"
- // PostgreSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPostgreSQL = "postgresql"
- // Amazon Redshift
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedshift = "redshift"
- // Apache Hive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHive = "hive"
- // Cloudscape
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCloudscape = "cloudscape"
- // HyperSQL DataBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHSQLDB = "hsqldb"
- // Progress Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemProgress = "progress"
- // SAP MaxDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMaxDB = "maxdb"
- // SAP HANA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHanaDB = "hanadb"
- // Ingres
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemIngres = "ingres"
- // FirstSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirstSQL = "firstsql"
- // EnterpriseDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemEDB = "edb"
- // InterSystems CachΓ©
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCache = "cache"
- // Adabas (Adaptable Database System)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemAdabas = "adabas"
- // Firebird
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirebird = "firebird"
- // Apache Derby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDerby = "derby"
- // FileMaker
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFilemaker = "filemaker"
- // Informix
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInformix = "informix"
- // InstantDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInstantDB = "instantdb"
- // InterBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInterbase = "interbase"
- // MariaDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMariaDB = "mariadb"
- // Netezza
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNetezza = "netezza"
- // Pervasive PSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPervasive = "pervasive"
- // PointBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPointbase = "pointbase"
- // SQLite
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSqlite = "sqlite"
- // Sybase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSybase = "sybase"
- // Teradata
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemTeradata = "teradata"
- // Vertica
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemVertica = "vertica"
- // H2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemH2 = "h2"
- // ColdFusion IMQ
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemColdfusion = "coldfusion"
- // Apache Cassandra
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCassandra = "cassandra"
- // Apache HBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHBase = "hbase"
- // MongoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMongoDB = "mongodb"
- // Redis
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedis = "redis"
- // Couchbase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchbase = "couchbase"
- // CouchDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchDB = "couchdb"
- // Microsoft Azure Cosmos DB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCosmosDB = "cosmosdb"
- // Amazon DynamoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDynamoDB = "dynamodb"
- // Neo4j
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNeo4j = "neo4j"
- // Apache Geode
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemGeode = "geode"
- // Elasticsearch
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemElasticsearch = "elasticsearch"
- // Memcached
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMemcached = "memcached"
- // CockroachDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCockroachdb = "cockroachdb"
-)
-
-// Connection-level attributes for Microsoft SQL Server
-const (
- // The Microsoft SQL Server instance name connecting to. This name is used to
- // determine the port of a named instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MSSQLSERVER'
- // Note: If setting a db.mssql.instance_name, net.peer.port is no longer required
- // (but still recommended if non-standard).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMSSQLInstanceName = "db.mssql.instance_name"
-)
-
-// Call-level attributes for Cassandra
-const (
- // The name of the keyspace being accessed. To be used instead of the generic
- // db.name attribute.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'mykeyspace'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraKeyspace = "db.cassandra.keyspace"
- // The fetch size used for paging, i.e. how many rows will be returned at once.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5000
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraPageSize = "db.cassandra.page_size"
- // The consistency level of the query. Based on consistency values from CQL.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevel = "db.cassandra.consistency_level"
- // The name of the primary table that the operation is acting upon, including the
- // schema name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'mytable'
- // Note: This mirrors the db.sql.table attribute but references cassandra rather
- // than sql. It is not recommended to attempt any client-side parsing of
- // db.statement just to get this property, but it should be set if it is provided
- // by the library being instrumented. If the operation is acting upon an anonymous
- // table, or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraTable = "db.cassandra.table"
- // Whether or not the query is idempotent.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraIdempotence = "db.cassandra.idempotence"
- // The number of times a query was speculatively executed. Not set or 0 if the
- // query was not executed speculatively.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 0, 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraSpeculativeExecutionCount = "db.cassandra.speculative_execution_count"
- // The ID of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'be13faa2-8574-4d71-926d-27f16cf8a7af'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorID = "db.cassandra.coordinator.id"
- // The data center of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'us-west-2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorDC = "db.cassandra.coordinator.dc"
-)
-
-const (
- // all
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAll = "all"
- // each_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelEachQuorum = "each_quorum"
- // quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelQuorum = "quorum"
- // local_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalQuorum = "local_quorum"
- // one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelOne = "one"
- // two
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelTwo = "two"
- // three
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelThree = "three"
- // local_one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalOne = "local_one"
- // any
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAny = "any"
- // serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelSerial = "serial"
- // local_serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalSerial = "local_serial"
-)
-
-// Call-level attributes for Apache HBase
-const (
- // The HBase namespace being accessed. To be used instead of the generic db.name
- // attribute.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'default'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBHBaseNamespace = "db.hbase.namespace"
-)
-
-// Call-level attributes for Redis
-const (
- // The index of the database being accessed as used in the SELECT command,
- // provided as an integer. To be used instead of the generic db.name attribute.
- //
- // Type: int
- // Required: Required, if other than the default database (`0`).
- // Stability: stable
- // Examples: 0, 1, 15
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBRedisDBIndex = "db.redis.database_index"
-)
-
-// Call-level attributes for MongoDB
-const (
- // The collection being accessed within the database stated in db.name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'customers', 'products'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMongoDBCollection = "db.mongodb.collection"
-)
-
-// Call-level attrbiutes for SQL databases
-const (
- // The name of the primary table that the operation is acting upon, including the
- // schema name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'public.users', 'customers'
- // Note: It is not recommended to attempt any client-side parsing of db.statement
- // just to get this property, but it should be set if it is provided by the
- // library being instrumented. If the operation is acting upon an anonymous table,
- // or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSQLTable = "db.sql.table"
-)
-
-// This document defines the attributes used to report a single exception associated with a span.
-const (
- // The type of the exception (its fully-qualified class name, if applicable). The
- // dynamic type of the exception should be preferred over the static type in
- // languages that support it.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'java.net.ConnectException', 'OSError'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionType = "exception.type"
- // The exception message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Division by zero', "Can't convert 'int' object to str implicitly"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionMessage = "exception.message"
- // A stacktrace as a string in the natural representation for the language
- // runtime. The representation is to be determined and documented by each language
- // SIG.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Exception in thread "main" java.lang.RuntimeException: Test
- // exception\\n at '
- // 'com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at '
- // 'com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at '
- // 'com.example.GenerateTrace.main(GenerateTrace.java:5)'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionStacktrace = "exception.stacktrace"
- // SHOULD be set to true if the exception event is recorded at a point where it is
- // known that the exception is escaping the scope of the span.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Note: An exception is considered to have escaped (or left) the scope of a span,
- // if that span is ended while the exception is still logically "in
- // flight".
- // This may be actually "in flight" in some languages (e.g. if the
- // exception
- // is passed to a Context manager's __exit__ method in Python) but will
- // usually be caught at the point of recording the exception in most languages.It
- // is usually not possible to determine at the point where an exception is thrown
- // whether it will escape the scope of a span.
- // However, it is trivial to know that an exception
- // will escape, if one checks for an active exception just before ending the span,
- // as done in the example above.It follows that an exception may still escape the
- // scope of the span
- // even if the exception.escaped attribute was not set or set to false,
- // since the event might have been recorded at a time where it was not
- // clear whether the exception will escape.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionEscaped = "exception.escaped"
-)
-
-// This semantic convention describes an instance of a function that runs without provisioning or managing of servers (also known as serverless functions or Function as a Service (FaaS)) with spans.
-const (
- // Type of the trigger on which the function is executed.
- //
- // Type: Enum
- // Required: On FaaS instances, faas.trigger MUST be set on incoming invocations.
- // Clients invoking FaaS instances MUST set `faas.trigger` on outgoing
- // invocations, if it is known to the client. This is, for example, not the case,
- // when the transport layer is abstracted in a FaaS client framework without
- // access to its configuration.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTrigger = "faas.trigger"
- // The execution ID of the current function execution.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'af9d5aa4-a685-4c5f-a22b-444f80b3cc28'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSExecution = "faas.execution"
-)
-
-const (
- // A response to some data source operation such as a database or filesystem read/write
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerDatasource = "datasource"
- // To provide an answer to an inbound HTTP request
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerHTTP = "http"
- // A function is set to be executed when messages are sent to a messaging system
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerPubsub = "pubsub"
- // A function is scheduled to be executed regularly
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerTimer = "timer"
- // If none of the others apply
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerOther = "other"
-)
-
-// Semantic Convention for FaaS triggered as a response to some data source operation such as a database or filesystem read/write.
-const (
- // The name of the source on which the triggering operation was performed. For
- // example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos
- // DB to the database name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myBucketName', 'myDBName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentCollection = "faas.document.collection"
- // Describes the type of the operation that was performed on the data.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperation = "faas.document.operation"
- // A string containing the time when the data was accessed in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentTime = "faas.document.time"
- // The document name/table subjected to the operation. For example, in Cloud
- // Storage or S3 is the name of the file, and in Cosmos DB the table name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myFile.txt', 'myTableName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentName = "faas.document.name"
-)
-
-const (
- // When a new object is created
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationInsert = "insert"
- // When an object is modified
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationEdit = "edit"
- // When an object is deleted
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationDelete = "delete"
-)
-
-// Semantic Convention for FaaS scheduled to be executed regularly.
-const (
- // A string containing the function invocation time in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTime = "faas.time"
- // A string containing the schedule period as Cron Expression.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0/5 * * * ? *'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSCron = "faas.cron"
-)
-
-// Contains additional attributes for incoming FaaS spans.
-const (
- // A boolean that is true if the serverless function is executed for the first
- // time (aka cold-start).
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSColdstart = "faas.coldstart"
-)
-
-// Contains additional attributes for outgoing FaaS spans.
-const (
- // The name of the invoked function.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'my-function'
- // Note: SHOULD be equal to the faas.name resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedName = "faas.invoked_name"
- // The cloud provider of the invoked function.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Note: SHOULD be equal to the cloud.provider resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProvider = "faas.invoked_provider"
- // The cloud region of the invoked function.
- //
- // Type: string
- // Required: For some cloud providers, like AWS or GCP, the region in which a
- // function is hosted is essential to uniquely identify the function and also part
- // of its endpoint. Since it's part of the endpoint being called, the region is
- // always known to clients. In these cases, `faas.invoked_region` MUST be set
- // accordingly. If the region is unknown to the client or not required for
- // identifying the invoked function, setting `faas.invoked_region` is optional.
- // Stability: stable
- // Examples: 'eu-central-1'
- // Note: SHOULD be equal to the cloud.region resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedRegion = "faas.invoked_region"
-)
-
-const (
- // Alibaba Cloud
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAlibabaCloud = "alibaba_cloud"
- // Amazon Web Services
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAWS = "aws"
- // Microsoft Azure
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAzure = "azure"
- // Google Cloud Platform
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderGCP = "gcp"
-)
-
-// These attributes may be used for any network related operation.
-const (
- // Transport protocol used. See note below.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransport = "net.transport"
- // Remote address of the peer (dotted decimal for IPv4 or RFC5952 for IPv6)
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '127.0.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerIP = "net.peer.ip"
- // Remote port number.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 80, 8080, 443
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerPort = "net.peer.port"
- // Remote hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerName = "net.peer.name"
- // Like net.peer.ip but for the host IP. Useful in case of a multi-IP host.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '192.168.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostIP = "net.host.ip"
- // Like net.peer.port but for the host port.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 35555
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostPort = "net.host.port"
- // Local hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'localhost'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostName = "net.host.name"
- // The internet connection type currently being used by the host.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Examples: 'wifi'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionType = "net.host.connection.type"
- // This describes more details regarding the connection.type. It may be the type
- // of cell technology connection, but it could be used for describing details
- // about a wifi connection.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Examples: 'LTE'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtype = "net.host.connection.subtype"
- // The name of the mobile carrier.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'sprint'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierName = "net.host.carrier.name"
- // The mobile carrier country code.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '310'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierMcc = "net.host.carrier.mcc"
- // The mobile carrier network code.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '001'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierMnc = "net.host.carrier.mnc"
- // The ISO 3166-1 alpha-2 2-character country code associated with the mobile
- // carrier network.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'DE'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierIcc = "net.host.carrier.icc"
-)
-
-const (
- // ip_tcp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportTCP = "ip_tcp"
- // ip_udp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUDP = "ip_udp"
- // Another IP-based protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportIP = "ip"
- // Unix Domain socket. See below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUnix = "unix"
- // Named or anonymous pipe. See note below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportPipe = "pipe"
- // In-process communication
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportInProc = "inproc"
- // Something else (non IP-based)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportOther = "other"
-)
-
-const (
- // wifi
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeWifi = "wifi"
- // wired
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeWired = "wired"
- // cell
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeCell = "cell"
- // unavailable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeUnavailable = "unavailable"
- // unknown
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeUnknown = "unknown"
-)
-
-const (
- // GPRS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeGprs = "gprs"
- // EDGE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEdge = "edge"
- // UMTS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeUmts = "umts"
- // CDMA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeCdma = "cdma"
- // EVDO Rel. 0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdo0 = "evdo_0"
- // EVDO Rev. A
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdoA = "evdo_a"
- // CDMA2000 1XRTT
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeCdma20001xrtt = "cdma2000_1xrtt"
- // HSDPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHsdpa = "hsdpa"
- // HSUPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHsupa = "hsupa"
- // HSPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHspa = "hspa"
- // IDEN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeIden = "iden"
- // EVDO Rev. B
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdoB = "evdo_b"
- // LTE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeLte = "lte"
- // EHRPD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEhrpd = "ehrpd"
- // HSPAP
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHspap = "hspap"
- // GSM
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeGsm = "gsm"
- // TD-SCDMA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeTdScdma = "td_scdma"
- // IWLAN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeIwlan = "iwlan"
- // 5G NR (New Radio)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeNr = "nr"
- // 5G NRNSA (New Radio Non-Standalone)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeNrnsa = "nrnsa"
- // LTE CA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeLteCa = "lte_ca"
-)
-
-// Operations that access some remote service.
-const (
- // The service.name of the remote service. SHOULD be equal to the actual
- // service.name resource attribute of the remote service if any.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AuthTokenCache'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributePeerService = "peer.service"
-)
-
-// These attributes may be used for any operation with an authenticated and/or authorized enduser.
-const (
- // Username or client_id extracted from the access token or Authorization header
- // in the inbound request from outside the system.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'username'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserID = "enduser.id"
- // Actual/assumed role the client is making the request under extracted from token
- // or application security context.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'admin'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserRole = "enduser.role"
- // Scopes or granted authorities the client currently possesses extracted from
- // token or application security context. The value would come from the scope
- // associated with an OAuth 2.0 Access Token or an attribute value in a SAML 2.0
- // Assertion.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'read:message, write:files'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserScope = "enduser.scope"
-)
-
-// These attributes may be used for any operation to store information about a thread that started a span.
-const (
- // Current "managed" thread ID (as opposed to OS thread ID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadID = "thread.id"
- // Current thread name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'main'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadName = "thread.name"
-)
-
-// These attributes allow to report this unit of code and therefore to provide more context about the span.
-const (
- // The method or function name, or equivalent (usually rightmost part of the code
- // unit's name).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'serveRequest'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFunction = "code.function"
- // The "namespace" within which code.function is defined. Usually the
- // qualified class or module name, such that code.namespace + some separator +
- // code.function form a unique identifier for the code unit.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'com.example.MyHTTPService'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeNamespace = "code.namespace"
- // The source code file name that identifies the code unit as uniquely as possible
- // (preferably an absolute file path).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/usr/local/MyApplication/content_root/app/index.php'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFilepath = "code.filepath"
- // The line number in code.filepath best representing the operation. It SHOULD
- // point within the code unit named in code.function.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeLineNumber = "code.lineno"
-)
-
-// This document defines semantic conventions for HTTP client and server Spans.
-const (
- // HTTP request method.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'GET', 'POST', 'HEAD'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPMethod = "http.method"
- // Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment].
- // Usually the fragment is not transmitted over HTTP, but if it is known, it
- // should be included nevertheless.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'https://www.foo.bar/search?q=OpenTelemetry#SemConv'
- // Note: http.url MUST NOT contain credentials passed via URL in form of
- // https://username:password@www.example.com/. In such case the attribute's value
- // should be https://www.example.com/.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPURL = "http.url"
- // The full request target as passed in a HTTP request line or equivalent.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/path/12314/?q=ddds#123'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPTarget = "http.target"
- // The value of the HTTP host header. An empty Host header should also be
- // reported, see note.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'www.example.org'
- // Note: When the header is present but empty the attribute SHOULD be set to the
- // empty string. Note that this is a valid situation that is expected in certain
- // cases, according the aforementioned section of RFC 7230. When the header is not
- // set the attribute MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPHost = "http.host"
- // The URI scheme identifying the used protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'http', 'https'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPScheme = "http.scheme"
- // HTTP response status code.
- //
- // Type: int
- // Required: If and only if one was received/sent.
- // Stability: stable
- // Examples: 200
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPStatusCode = "http.status_code"
- // Kind of HTTP protocol used.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Note: If net.transport is not specified, it can be assumed to be IP.TCP except
- // if http.flavor is QUIC, in which case IP.UDP is assumed.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavor = "http.flavor"
- // Value of the HTTP User-Agent header sent by the client.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'CERN-LineMode/2.15 libwww/2.17b3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPUserAgent = "http.user_agent"
- // The size of the request payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLength = "http.request_content_length"
- // The size of the uncompressed request payload body after transport decoding. Not
- // set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLengthUncompressed = "http.request_content_length_uncompressed"
- // The size of the response payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLength = "http.response_content_length"
- // The size of the uncompressed response payload body after transport decoding.
- // Not set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLengthUncompressed = "http.response_content_length_uncompressed"
-)
-
-const (
- // HTTP 1.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP10 = "1.0"
- // HTTP 1.1
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP11 = "1.1"
- // HTTP 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP20 = "2.0"
- // SPDY protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorSPDY = "SPDY"
- // QUIC protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorQUIC = "QUIC"
-)
-
-// Semantic Convention for HTTP Server
-const (
- // The primary server name of the matched virtual host. This should be obtained
- // via configuration. If no such configuration can be obtained, this attribute
- // MUST NOT be set ( net.host.name should be used instead).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Note: http.url is usually not readily available on the server side but would
- // have to be assembled in a cumbersome and sometimes lossy process from other
- // information (see e.g. open-telemetry/opentelemetry-python/pull/148). It is thus
- // preferred to supply the raw data that is available.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPServerName = "http.server_name"
- // The matched route (path template).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/users/:userID?'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRoute = "http.route"
- // The IP address of the original client behind all proxies, if known (e.g. from
- // X-Forwarded-For).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '83.164.160.102'
- // Note: This is not necessarily the same as net.peer.ip, which would
- // identify the network-level peer, which may be a proxy.This attribute should be
- // set when a source of information different
- // from the one used for net.peer.ip, is available even if that other
- // source just confirms the same value as net.peer.ip.
- // Rationale: For net.peer.ip, one typically does not know if it
- // comes from a proxy, reverse proxy, or the actual client. Setting
- // http.client_ip when it's the same as net.peer.ip means that
- // one is at least somewhat confident that the address is not that of
- // the closest proxy.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPClientIP = "http.client_ip"
-)
-
-// Attributes that exist for multiple DynamoDB request types.
-const (
- // The keys in the RequestItems object field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'Cats'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableNames = "aws.dynamodb.table_names"
- // The JSON-serialized value of each item in the ConsumedCapacity response field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : {
- // "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number } },
- // "ReadCapacityUnits": number, "Table": { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName":
- // "string", "WriteCapacityUnits": number }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsumedCapacity = "aws.dynamodb.consumed_capacity"
- // The JSON-serialized value of the ItemCollectionMetrics response field.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob,
- // "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" :
- // "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S":
- // "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBItemCollectionMetrics = "aws.dynamodb.item_collection_metrics"
- // The value of the ProvisionedThroughput.ReadCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedReadCapacity = "aws.dynamodb.provisioned_read_capacity"
- // The value of the ProvisionedThroughput.WriteCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedWriteCapacity = "aws.dynamodb.provisioned_write_capacity"
- // The value of the ConsistentRead request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsistentRead = "aws.dynamodb.consistent_read"
- // The value of the ProjectionExpression request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Title', 'Title, Price, Color', 'Title, Description, RelatedItems,
- // ProductReviews'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProjection = "aws.dynamodb.projection"
- // The value of the Limit request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLimit = "aws.dynamodb.limit"
- // The value of the AttributesToGet request parameter.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'lives', 'id'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributesToGet = "aws.dynamodb.attributes_to_get"
- // The value of the IndexName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'name_to_group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBIndexName = "aws.dynamodb.index_name"
- // The value of the Select request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ALL_ATTRIBUTES', 'COUNT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSelect = "aws.dynamodb.select"
-)
-
-// DynamoDB.CreateTable
-const (
- // The JSON-serialized value of each item of the GlobalSecondaryIndexes request
- // field
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexName": "string", "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits":
- // number, "WriteCapacityUnits": number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexes = "aws.dynamodb.global_secondary_indexes"
- // The JSON-serialized value of each item of the LocalSecondaryIndexes request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexARN": "string", "IndexName": "string", "IndexSizeBytes":
- // number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLocalSecondaryIndexes = "aws.dynamodb.local_secondary_indexes"
-)
-
-// DynamoDB.ListTables
-const (
- // The value of the ExclusiveStartTableName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'CatsTable'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBExclusiveStartTable = "aws.dynamodb.exclusive_start_table"
- // The the number of items in the TableNames response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 20
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableCount = "aws.dynamodb.table_count"
-)
-
-// DynamoDB.Query
-const (
- // The value of the ScanIndexForward request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScanForward = "aws.dynamodb.scan_forward"
-)
-
-// DynamoDB.Scan
-const (
- // The value of the Segment request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSegment = "aws.dynamodb.segment"
- // The value of the TotalSegments request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTotalSegments = "aws.dynamodb.total_segments"
- // The value of the Count response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBCount = "aws.dynamodb.count"
- // The value of the ScannedCount response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 50
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScannedCount = "aws.dynamodb.scanned_count"
-)
-
-// DynamoDB.UpdateTable
-const (
- // The JSON-serialized value of each item in the AttributeDefinitions request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributeDefinitions = "aws.dynamodb.attribute_definitions"
- // The JSON-serialized value of each item in the the GlobalSecondaryIndexUpdates
- // request field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "Create": { "IndexName": "string", "KeySchema": [ {
- // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
- // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" },
- // "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates = "aws.dynamodb.global_secondary_index_updates"
-)
-
-// This document defines the attributes used in messaging systems.
-const (
- // A string identifying the messaging system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'kafka', 'rabbitmq', 'activemq', 'AmazonSQS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingSystem = "messaging.system"
- // The message destination name. This might be equal to the span name but is
- // required nevertheless.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'MyQueue', 'MyTopic'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestination = "messaging.destination"
- // The kind of message destination
- //
- // Type: Enum
- // Required: Required only if the message destination is either a `queue` or
- // `topic`.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKind = "messaging.destination_kind"
- // A boolean that is true if the message destination is temporary.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingTempDestination = "messaging.temp_destination"
- // The name of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AMQP', 'MQTT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocol = "messaging.protocol"
- // The version of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.9.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocolVersion = "messaging.protocol_version"
- // Connection string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'tibjmsnaming://localhost:7222',
- // 'https://queue.amazonaws.com/80398EXAMPLE/MyQueue'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingURL = "messaging.url"
- // A value used by the messaging system as an identifier for the message,
- // represented as a string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '452a7c7c7c7048c2f887f61572b18fc2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessageID = "messaging.message_id"
- // The conversation ID identifying the conversation to which the message belongs,
- // represented as a string. Sometimes called "Correlation ID".
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MyConversationID'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingConversationID = "messaging.conversation_id"
- // The (uncompressed) size of the message payload in bytes. Also use this
- // attribute if it is unknown whether the compressed or uncompressed payload size
- // is reported.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2738
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadSizeBytes = "messaging.message_payload_size_bytes"
- // The compressed size of the message payload in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2048
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadCompressedSizeBytes = "messaging.message_payload_compressed_size_bytes"
-)
-
-const (
- // A message sent to a queue
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindQueue = "queue"
- // A message sent to a topic
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindTopic = "topic"
-)
-
-// Semantic convention for a consumer of messages received from a messaging system
-const (
- // A string identifying the kind of message consumption as defined in the
- // Operation names section above. If the operation is "send", this
- // attribute MUST NOT be set, since the operation can be inferred from the span
- // kind in that case.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperation = "messaging.operation"
- // The identifier for the consumer receiving a message. For Kafka, set it to
- // {messaging.kafka.consumer_group} - {messaging.kafka.client_id}, if both are
- // present, or only messaging.kafka.consumer_group. For brokers, such as RabbitMQ
- // and Artemis, set it to the client_id of the client consuming the message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'mygroup - client-6'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingConsumerID = "messaging.consumer_id"
-)
-
-const (
- // receive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationReceive = "receive"
- // process
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationProcess = "process"
-)
-
-// Attributes for RabbitMQ
-const (
- // RabbitMQ message routing key.
- //
- // Type: string
- // Required: Unless it is empty.
- // Stability: stable
- // Examples: 'myKey'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRabbitmqRoutingKey = "messaging.rabbitmq.routing_key"
-)
-
-// Attributes for Apache Kafka
-const (
- // Message keys in Kafka are used for grouping alike messages to ensure they're
- // processed on the same partition. They differ from messaging.message_id in that
- // they're not unique. If the key is null, the attribute MUST NOT be set.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myKey'
- // Note: If the key type is not string, it's string representation has to be
- // supplied for the attribute. If the key has no unambiguous, canonical string
- // form, don't include its value.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaMessageKey = "messaging.kafka.message_key"
- // Name of the Kafka Consumer Group that is handling the message. Only applies to
- // consumers, not producers.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'my-group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaConsumerGroup = "messaging.kafka.consumer_group"
- // Client ID for the Consumer or Producer that is handling the message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'client-5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaClientID = "messaging.kafka.client_id"
- // Partition the message is sent to.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaPartition = "messaging.kafka.partition"
- // A boolean that is true if the message is a tombstone.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaTombstone = "messaging.kafka.tombstone"
-)
-
-// This document defines semantic conventions for remote procedure calls.
-const (
- // A string identifying the remoting system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'grpc', 'java_rmi', 'wcf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCSystem = "rpc.system"
- // The full (logical) name of the service being called, including its package
- // name, if applicable.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'myservice.EchoService'
- // Note: This is the logical name of the service from the RPC interface
- // perspective, which can be different from the name of any implementing class.
- // The code.namespace attribute may be used to store the latter (despite the
- // attribute name, it may include a class name; e.g., class with method actually
- // executing the call on the server side, RPC client stub class on the client
- // side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCService = "rpc.service"
- // The name of the (logical) method being called, must be equal to the $method
- // part in the span name.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'exampleMethod'
- // Note: This is the logical name of the method from the RPC interface
- // perspective, which can be different from the name of any implementing
- // method/function. The code.function attribute may be used to store the latter
- // (e.g., method actually executing the call on the server side, RPC client stub
- // method on the client side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCMethod = "rpc.method"
-)
-
-// Tech-specific attributes for gRPC.
-const (
- // The numeric status code of the gRPC request.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCode = "rpc.grpc.status_code"
-)
-
-const (
- // OK
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOk = "0"
- // CANCELLED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeCancelled = "1"
- // UNKNOWN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnknown = "2"
- // INVALID_ARGUMENT
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInvalidArgument = "3"
- // DEADLINE_EXCEEDED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDeadlineExceeded = "4"
- // NOT_FOUND
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeNotFound = "5"
- // ALREADY_EXISTS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAlreadyExists = "6"
- // PERMISSION_DENIED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodePermissionDenied = "7"
- // RESOURCE_EXHAUSTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeResourceExhausted = "8"
- // FAILED_PRECONDITION
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeFailedPrecondition = "9"
- // ABORTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAborted = "10"
- // OUT_OF_RANGE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOutOfRange = "11"
- // UNIMPLEMENTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnimplemented = "12"
- // INTERNAL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInternal = "13"
- // UNAVAILABLE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnavailable = "14"
- // DATA_LOSS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDataLoss = "15"
- // UNAUTHENTICATED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnauthenticated = "16"
-)
-
-// Tech-specific attributes for [JSON RPC](https://www.jsonrpc.org/).
-const (
- // Protocol version as in jsonrpc property of request/response. Since JSON-RPC 1.0
- // does not specify this, the value can be omitted.
- //
- // Type: string
- // Required: If missing, it is assumed to be "1.0".
- // Stability: stable
- // Examples: '2.0', '1.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcVersion = "rpc.jsonrpc.version"
- // id property of request or response. Since protocol allows id to be int, string,
- // null or missing (for notifications), value is expected to be cast to string for
- // simplicity. Use empty string in case of null value. Omit entirely if this is a
- // notification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '10', 'request-7', ''
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcRequestID = "rpc.jsonrpc.request_id"
- // error.code property of response if it is an error response.
- //
- // Type: int
- // Required: If missing, response is assumed to be successful.
- // Stability: stable
- // Examples: -32700, 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorCode = "rpc.jsonrpc.error_code"
- // error.message property of response if it is an error response.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Parse error', 'User already exists'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorMessage = "rpc.jsonrpc.error_message"
-)
-
-// RPC received/sent message.
-const (
- // Whether this is a received or sent message.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageType = "message.type"
- // MUST be calculated as two different counters starting from 1 one for sent
- // messages and one for received message.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Note: This way we guarantee that the values will be consistent between
- // different implementations.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageID = "message.id"
- // Compressed size of the message in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageCompressedSize = "message.compressed_size"
- // Uncompressed size of the message in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageUncompressedSize = "message.uncompressed_size"
-)
-
-const (
- // sent
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageTypeSent = "SENT"
- // received
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageTypeReceived = "RECEIVED"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetTraceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeAWSLambdaInvokedARN,
- AttributeDBSystem,
- AttributeDBConnectionString,
- AttributeDBUser,
- AttributeDBJDBCDriverClassname,
- AttributeDBName,
- AttributeDBStatement,
- AttributeDBOperation,
- AttributeDBMSSQLInstanceName,
- AttributeDBCassandraKeyspace,
- AttributeDBCassandraPageSize,
- AttributeDBCassandraConsistencyLevel,
- AttributeDBCassandraTable,
- AttributeDBCassandraIdempotence,
- AttributeDBCassandraSpeculativeExecutionCount,
- AttributeDBCassandraCoordinatorID,
- AttributeDBCassandraCoordinatorDC,
- AttributeDBHBaseNamespace,
- AttributeDBRedisDBIndex,
- AttributeDBMongoDBCollection,
- AttributeDBSQLTable,
- AttributeExceptionType,
- AttributeExceptionMessage,
- AttributeExceptionStacktrace,
- AttributeExceptionEscaped,
- AttributeFaaSTrigger,
- AttributeFaaSExecution,
- AttributeFaaSDocumentCollection,
- AttributeFaaSDocumentOperation,
- AttributeFaaSDocumentTime,
- AttributeFaaSDocumentName,
- AttributeFaaSTime,
- AttributeFaaSCron,
- AttributeFaaSColdstart,
- AttributeFaaSInvokedName,
- AttributeFaaSInvokedProvider,
- AttributeFaaSInvokedRegion,
- AttributeNetTransport,
- AttributeNetPeerIP,
- AttributeNetPeerPort,
- AttributeNetPeerName,
- AttributeNetHostIP,
- AttributeNetHostPort,
- AttributeNetHostName,
- AttributeNetHostConnectionType,
- AttributeNetHostConnectionSubtype,
- AttributeNetHostCarrierName,
- AttributeNetHostCarrierMcc,
- AttributeNetHostCarrierMnc,
- AttributeNetHostCarrierIcc,
- AttributePeerService,
- AttributeEnduserID,
- AttributeEnduserRole,
- AttributeEnduserScope,
- AttributeThreadID,
- AttributeThreadName,
- AttributeCodeFunction,
- AttributeCodeNamespace,
- AttributeCodeFilepath,
- AttributeCodeLineNumber,
- AttributeHTTPMethod,
- AttributeHTTPURL,
- AttributeHTTPTarget,
- AttributeHTTPHost,
- AttributeHTTPScheme,
- AttributeHTTPStatusCode,
- AttributeHTTPFlavor,
- AttributeHTTPUserAgent,
- AttributeHTTPRequestContentLength,
- AttributeHTTPRequestContentLengthUncompressed,
- AttributeHTTPResponseContentLength,
- AttributeHTTPResponseContentLengthUncompressed,
- AttributeHTTPServerName,
- AttributeHTTPRoute,
- AttributeHTTPClientIP,
- AttributeAWSDynamoDBTableNames,
- AttributeAWSDynamoDBConsumedCapacity,
- AttributeAWSDynamoDBItemCollectionMetrics,
- AttributeAWSDynamoDBProvisionedReadCapacity,
- AttributeAWSDynamoDBProvisionedWriteCapacity,
- AttributeAWSDynamoDBConsistentRead,
- AttributeAWSDynamoDBProjection,
- AttributeAWSDynamoDBLimit,
- AttributeAWSDynamoDBAttributesToGet,
- AttributeAWSDynamoDBIndexName,
- AttributeAWSDynamoDBSelect,
- AttributeAWSDynamoDBGlobalSecondaryIndexes,
- AttributeAWSDynamoDBLocalSecondaryIndexes,
- AttributeAWSDynamoDBExclusiveStartTable,
- AttributeAWSDynamoDBTableCount,
- AttributeAWSDynamoDBScanForward,
- AttributeAWSDynamoDBSegment,
- AttributeAWSDynamoDBTotalSegments,
- AttributeAWSDynamoDBCount,
- AttributeAWSDynamoDBScannedCount,
- AttributeAWSDynamoDBAttributeDefinitions,
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates,
- AttributeMessagingSystem,
- AttributeMessagingDestination,
- AttributeMessagingDestinationKind,
- AttributeMessagingTempDestination,
- AttributeMessagingProtocol,
- AttributeMessagingProtocolVersion,
- AttributeMessagingURL,
- AttributeMessagingMessageID,
- AttributeMessagingConversationID,
- AttributeMessagingMessagePayloadSizeBytes,
- AttributeMessagingMessagePayloadCompressedSizeBytes,
- AttributeMessagingOperation,
- AttributeMessagingConsumerID,
- AttributeMessagingRabbitmqRoutingKey,
- AttributeMessagingKafkaMessageKey,
- AttributeMessagingKafkaConsumerGroup,
- AttributeMessagingKafkaClientID,
- AttributeMessagingKafkaPartition,
- AttributeMessagingKafkaTombstone,
- AttributeRPCSystem,
- AttributeRPCService,
- AttributeRPCMethod,
- AttributeRPCGRPCStatusCode,
- AttributeRPCJsonrpcVersion,
- AttributeRPCJsonrpcRequestID,
- AttributeRPCJsonrpcErrorCode,
- AttributeRPCJsonrpcErrorMessage,
- AttributeMessageType,
- AttributeMessageID,
- AttributeMessageCompressedSize,
- AttributeMessageUncompressedSize,
- }
-}
diff --git a/model/semconv/v1.7.0/nonstandard.go b/model/semconv/v1.7.0/nonstandard.go
deleted file mode 100644
index f69ecb4b1a7..00000000000
--- a/model/semconv/v1.7.0/nonstandard.go
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.7.0"
-
-const (
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelLibraryName = "otel.library.name"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelLibraryVersion = "otel.library.version"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusCode = "otel.status_code"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusDescription = "otel.status_description"
-)
diff --git a/model/semconv/v1.7.0/schema.go b/model/semconv/v1.7.0/schema.go
deleted file mode 100644
index 3b82066330c..00000000000
--- a/model/semconv/v1.7.0/schema.go
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.7.0"
-
-// SchemaURL is the schema URL that matches the version of the semantic conventions
-// that this package defines. Conventions packages starting from v1.4.0 must declare
-// non-empty schema URL in the form https://opentelemetry.io/schemas/
- //
- // Take care not to use the "invoked ARN" directly but replace any
- // alias suffix with the resolved function version, as the same runtime instance
- // may be invokable with multiple
- // different aliases.
- //
- // On some providers, it may not be possible to determine the full ID at startup,
- // which is why this field cannot be made required. For example, on AWS the
- // account ID
- // part of the ARN is not available without calling another AWS API
- // which may be deemed too slow for a short-running lambda function.
- // As an alternative, consider setting faas.id as a span attribute instead.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSID = "faas.id"
- // The immutable version of the function being executed.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '26', 'pinkfroid-00002'
- // Note: Depending on the cloud provider and platform, use:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSVersion = "faas.version"
- // The execution environment ID as a string, that will be potentially reused for
- // other invocations to the same function/function version.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de'
- // Note:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInstance = "faas.instance"
- // The amount of memory available to the serverless function in MiB.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 128
- // Note: It's recommended to set this attribute since e.g. too little memory can
- // easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
- // the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
- // information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSMaxMemory = "faas.max_memory"
-)
-
-// A host is defined as a general computing instance.
-const (
- // Unique host ID. For Cloud, this must be the instance_id assigned by the cloud
- // provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostID = "host.id"
- // Name of the host. On Unix systems, it may contain what the hostname command
- // returns, or the fully qualified hostname, or another name specified by the
- // user.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostName = "host.name"
- // Type of host. For Cloud, this must be the machine type.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'n1-standard-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostType = "host.type"
- // The CPU architecture the host system is running on.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArch = "host.arch"
- // Name of the VM image or OS install the host was instantiated from.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageName = "host.image.name"
- // VM image ID. For Cloud, this value is from the provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ami-07b06b442921831e5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageID = "host.image.id"
- // The version string of the VM image as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageVersion = "host.image.version"
-)
-
-const (
- // AMD64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchAMD64 = "amd64"
- // ARM32
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM32 = "arm32"
- // ARM64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM64 = "arm64"
- // Itanium
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchIA64 = "ia64"
- // 32-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC32 = "ppc32"
- // 64-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC64 = "ppc64"
- // IBM z/Architecture
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchS390x = "s390x"
- // 32-bit x86
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchX86 = "x86"
-)
-
-// A Kubernetes Cluster.
-const (
- // The name of the cluster.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-cluster'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SClusterName = "k8s.cluster.name"
-)
-
-// A Kubernetes Node object.
-const (
- // The name of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'node-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeName = "k8s.node.name"
- // The UID of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeUID = "k8s.node.uid"
-)
-
-// A Kubernetes Namespace.
-const (
- // The name of the namespace that the pod is running in.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'default'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNamespaceName = "k8s.namespace.name"
-)
-
-// A Kubernetes Pod object.
-const (
- // The UID of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodUID = "k8s.pod.uid"
- // The name of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-pod-autoconf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodName = "k8s.pod.name"
-)
-
-// A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
-const (
- // The name of the Container from Pod specification, must be unique within a Pod.
- // Container runtime usually uses different globally unique name (container.name).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'redis'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SContainerName = "k8s.container.name"
- // Number of times the container was restarted. This attribute can be used to
- // identify a particular container (running or stopped) within a container spec.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 0, 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SContainerRestartCount = "k8s.container.restart_count"
-)
-
-// A Kubernetes ReplicaSet object.
-const (
- // The UID of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
- // The name of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetName = "k8s.replicaset.name"
-)
-
-// A Kubernetes Deployment object.
-const (
- // The UID of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentUID = "k8s.deployment.uid"
- // The name of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentName = "k8s.deployment.name"
-)
-
-// A Kubernetes StatefulSet object.
-const (
- // The UID of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
- // The name of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetName = "k8s.statefulset.name"
-)
-
-// A Kubernetes DaemonSet object.
-const (
- // The UID of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
- // The name of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetName = "k8s.daemonset.name"
-)
-
-// A Kubernetes Job object.
-const (
- // The UID of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobUID = "k8s.job.uid"
- // The name of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobName = "k8s.job.name"
-)
-
-// A Kubernetes CronJob object.
-const (
- // The UID of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobUID = "k8s.cronjob.uid"
- // The name of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobName = "k8s.cronjob.name"
-)
-
-// The operating system (OS) on which the process represented by this resource is running.
-const (
- // The operating system type.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSType = "os.type"
- // Human readable (not intended to be parsed) OS version information, like e.g.
- // reported by ver or lsb_release -a commands.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSDescription = "os.description"
- // Human readable operating system name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'iOS', 'Android', 'Ubuntu'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSName = "os.name"
- // The version string of the operating system as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.2.1', '18.04.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSVersion = "os.version"
-)
-
-const (
- // Microsoft Windows
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeWindows = "windows"
- // Linux
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeLinux = "linux"
- // Apple Darwin
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDarwin = "darwin"
- // FreeBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeFreeBSD = "freebsd"
- // NetBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeNetBSD = "netbsd"
- // OpenBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeOpenBSD = "openbsd"
- // DragonFly BSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDragonflyBSD = "dragonflybsd"
- // HP-UX (Hewlett Packard Unix)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeHPUX = "hpux"
- // AIX (Advanced Interactive eXecutive)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeAIX = "aix"
- // Oracle Solaris
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeSolaris = "solaris"
- // IBM z/OS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeZOS = "z_os"
-)
-
-// An operating system process.
-const (
- // Process identifier (PID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 1234
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessPID = "process.pid"
- // The name of the process executable. On Linux based systems, can be set to the
- // Name in proc/[pid]/status. On Windows, can be set to the base name of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutableName = "process.executable.name"
- // The full path to the process executable. On Linux based systems, can be set to
- // the target of proc/[pid]/exe. On Windows, can be set to the result of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: '/usr/bin/cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutablePath = "process.executable.path"
- // The command used to launch the process (i.e. the command name). On Linux based
- // systems, can be set to the zeroth string in proc/[pid]/cmdline. On Windows, can
- // be set to the first parameter extracted from GetCommandLineW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommand = "process.command"
- // The full command used to launch the process as a single string representing the
- // full command. On Windows, can be set to the result of GetCommandLineW. Do not
- // set this if you have to assemble it just for monitoring; use
- // process.command_args instead.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandLine = "process.command_line"
- // All the command arguments (including the command/executable itself) as received
- // by the process. On Linux-based systems (and some other Unixoid systems
- // supporting procfs), can be set according to the list of null-delimited strings
- // extracted from proc/[pid]/cmdline. For libc-based executables, this would be
- // the full argv vector passed to main.
- //
- // Type: string[]
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otecol', '--config=config.yaml'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandArgs = "process.command_args"
- // The username of the user that owns the process.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'root'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessOwner = "process.owner"
-)
-
-// The single (language) runtime instance which is monitored.
-const (
- // The name of the runtime of this process. For compiled native binaries, this
- // SHOULD be the name of the compiler.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'OpenJDK Runtime Environment'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeName = "process.runtime.name"
- // The version of the runtime of this process, as returned by the runtime without
- // modification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.0.2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeVersion = "process.runtime.version"
- // An additional description about the runtime of the process, for example a
- // specific vendor customization of the runtime environment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeDescription = "process.runtime.description"
-)
-
-// A service instance.
-const (
- // Logical name of the service.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'shoppingcart'
- // Note: MUST be the same for all instances of horizontally scaled services. If
- // the value was not specified, SDKs MUST fallback to unknown_service:
- // concatenated with process.executable.name, e.g. unknown_service:bash. If
- // process.executable.name is not available, the value MUST be set to
- // unknown_service.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceName = "service.name"
- // A namespace for service.name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Shop'
- // Note: A string value having a meaning that helps to distinguish a group of
- // services, for example the team name that owns a group of services. service.name
- // is expected to be unique within the same namespace. If service.namespace is not
- // specified in the Resource then service.name is expected to be unique for all
- // services that have no explicit namespace defined (so the empty/unspecified
- // namespace is simply one more valid namespace). Zero-length namespace string is
- // assumed equal to unspecified namespace.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceNamespace = "service.namespace"
- // The string ID of the service instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '627cc493-f310-47de-96bd-71410b7dec09'
- // Note: MUST be unique for each instance of the same
- // service.namespace,service.name pair (in other words
- // service.namespace,service.name,service.instance.id triplet MUST be globally
- // unique). The ID helps to distinguish instances of the same service that exist
- // at the same time (e.g. instances of a horizontally scaled service). It is
- // preferable for the ID to be persistent and stay the same for the lifetime of
- // the service instance, however it is acceptable that the ID is ephemeral and
- // changes during important lifetime events for the service (e.g. service
- // restarts). If the service has no inherent unique ID that can be used as the
- // value of this attribute it is recommended to generate a random Version 1 or
- // Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
- // Version 5, see RFC 4122 for more recommendations).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceInstanceID = "service.instance.id"
- // The version string of the service API or implementation.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceVersion = "service.version"
-)
-
-// The telemetry SDK used to capture data recorded by the instrumentation libraries.
-const (
- // The name of the telemetry SDK as defined above.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKName = "telemetry.sdk.name"
- // The language of the telemetry SDK.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
- // The version string of the telemetry SDK.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKVersion = "telemetry.sdk.version"
- // The version string of the auto instrumentation agent, if used.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetryAutoVersion = "telemetry.auto.version"
-)
-
-const (
- // cpp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageCPP = "cpp"
- // dotnet
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageDotnet = "dotnet"
- // erlang
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageErlang = "erlang"
- // go
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageGo = "go"
- // java
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageJava = "java"
- // nodejs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageNodejs = "nodejs"
- // php
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePHP = "php"
- // python
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePython = "python"
- // ruby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageRuby = "ruby"
- // webjs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageWebjs = "webjs"
- // swift
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageSwift = "swift"
-)
-
-// Resource describing the packaged software running the application code. Web engines are typically executed using process.runtime.
-const (
- // The name of the web engine.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'WildFly'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineName = "webengine.name"
- // The version of the web engine.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '21.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineVersion = "webengine.version"
- // Additional description of the web engine (e.g. detailed version and edition
- // information).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineDescription = "webengine.description"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetResourceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeCloudProvider,
- AttributeCloudAccountID,
- AttributeCloudRegion,
- AttributeCloudAvailabilityZone,
- AttributeCloudPlatform,
- AttributeAWSECSContainerARN,
- AttributeAWSECSClusterARN,
- AttributeAWSECSLaunchtype,
- AttributeAWSECSTaskARN,
- AttributeAWSECSTaskFamily,
- AttributeAWSECSTaskRevision,
- AttributeAWSEKSClusterARN,
- AttributeAWSLogGroupNames,
- AttributeAWSLogGroupARNs,
- AttributeAWSLogStreamNames,
- AttributeAWSLogStreamARNs,
- AttributeContainerName,
- AttributeContainerID,
- AttributeContainerRuntime,
- AttributeContainerImageName,
- AttributeContainerImageTag,
- AttributeDeploymentEnvironment,
- AttributeDeviceID,
- AttributeDeviceModelIdentifier,
- AttributeDeviceModelName,
- AttributeFaaSName,
- AttributeFaaSID,
- AttributeFaaSVersion,
- AttributeFaaSInstance,
- AttributeFaaSMaxMemory,
- AttributeHostID,
- AttributeHostName,
- AttributeHostType,
- AttributeHostArch,
- AttributeHostImageName,
- AttributeHostImageID,
- AttributeHostImageVersion,
- AttributeK8SClusterName,
- AttributeK8SNodeName,
- AttributeK8SNodeUID,
- AttributeK8SNamespaceName,
- AttributeK8SPodUID,
- AttributeK8SPodName,
- AttributeK8SContainerName,
- AttributeK8SContainerRestartCount,
- AttributeK8SReplicaSetUID,
- AttributeK8SReplicaSetName,
- AttributeK8SDeploymentUID,
- AttributeK8SDeploymentName,
- AttributeK8SStatefulSetUID,
- AttributeK8SStatefulSetName,
- AttributeK8SDaemonSetUID,
- AttributeK8SDaemonSetName,
- AttributeK8SJobUID,
- AttributeK8SJobName,
- AttributeK8SCronJobUID,
- AttributeK8SCronJobName,
- AttributeOSType,
- AttributeOSDescription,
- AttributeOSName,
- AttributeOSVersion,
- AttributeProcessPID,
- AttributeProcessExecutableName,
- AttributeProcessExecutablePath,
- AttributeProcessCommand,
- AttributeProcessCommandLine,
- AttributeProcessCommandArgs,
- AttributeProcessOwner,
- AttributeProcessRuntimeName,
- AttributeProcessRuntimeVersion,
- AttributeProcessRuntimeDescription,
- AttributeServiceName,
- AttributeServiceNamespace,
- AttributeServiceInstanceID,
- AttributeServiceVersion,
- AttributeTelemetrySDKName,
- AttributeTelemetrySDKLanguage,
- AttributeTelemetrySDKVersion,
- AttributeTelemetryAutoVersion,
- AttributeWebEngineName,
- AttributeWebEngineVersion,
- AttributeWebEngineDescription,
- }
-}
diff --git a/model/semconv/v1.8.0/generated_trace.go b/model/semconv/v1.8.0/generated_trace.go
deleted file mode 100644
index 42b11a0e1f4..00000000000
--- a/model/semconv/v1.8.0/generated_trace.go
+++ /dev/null
@@ -1,1999 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-// Code generated from semantic convention specification. DO NOT EDIT.
-
-package semconv
-
-// Span attributes used by AWS Lambda (in addition to general `faas` attributes).
-const (
- // The full invoked ARN as provided on the Context passed to the function (Lambda-
- // Runtime-Invoked-Function-ARN header on the /runtime/invocation/next
- // applicable).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'arn:aws:lambda:us-east-1:123456:function:myfunction:myalias'
- // Note: This may be different from faas.id if an alias is involved.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSLambdaInvokedARN = "aws.lambda.invoked_arn"
-)
-
-// This document defines the attributes used to perform database client calls.
-const (
- // An identifier for the database management system (DBMS) product being used. See
- // below for a list of well-known identifiers.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystem = "db.system"
- // The connection string used to connect to the database. It is recommended to
- // remove embedded credentials.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Server=(localdb)\\v11.0;Integrated Security=true;'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBConnectionString = "db.connection_string"
- // Username for accessing the database.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'readonly_user', 'reporting_user'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBUser = "db.user"
- // The fully-qualified class name of the Java Database Connectivity (JDBC) driver
- // used to connect.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'org.postgresql.Driver',
- // 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBJDBCDriverClassname = "db.jdbc.driver_classname"
- // This attribute is used to report the name of the database being accessed. For
- // commands that switch the database, this should be set to the target database
- // (even if the command fails).
- //
- // Type: string
- // Required: Required, if applicable.
- // Stability: stable
- // Examples: 'customers', 'main'
- // Note: In some SQL databases, the database name to be used is called
- // "schema name". In case there are multiple layers that could be
- // considered for database name (e.g. Oracle instance name and schema name), the
- // database name to be used is the more specific layer (e.g. Oracle schema name).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBName = "db.name"
- // The database statement being executed.
- //
- // Type: string
- // Required: Required if applicable and not explicitly disabled via
- // instrumentation configuration.
- // Stability: stable
- // Examples: 'SELECT * FROM wuser_table', 'SET mykey "WuValue"'
- // Note: The value may be sanitized to exclude sensitive information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBStatement = "db.statement"
- // The name of the operation being executed, e.g. the MongoDB command name such as
- // findAndModify, or the SQL keyword.
- //
- // Type: string
- // Required: Required, if `db.statement` is not applicable.
- // Stability: stable
- // Examples: 'findAndModify', 'HMSET', 'SELECT'
- // Note: When setting this to an SQL keyword, it is not recommended to attempt any
- // client-side parsing of db.statement just to get this property, but it should be
- // set if the operation name is provided by the library being instrumented. If the
- // SQL statement has an ambiguous operation, or performs more than one operation,
- // this value may be omitted.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBOperation = "db.operation"
-)
-
-const (
- // Some other SQL database. Fallback only. See notes
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOtherSQL = "other_sql"
- // Microsoft SQL Server
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMSSQL = "mssql"
- // MySQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMySQL = "mysql"
- // Oracle Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOracle = "oracle"
- // IBM DB2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDB2 = "db2"
- // PostgreSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPostgreSQL = "postgresql"
- // Amazon Redshift
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedshift = "redshift"
- // Apache Hive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHive = "hive"
- // Cloudscape
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCloudscape = "cloudscape"
- // HyperSQL DataBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHSQLDB = "hsqldb"
- // Progress Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemProgress = "progress"
- // SAP MaxDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMaxDB = "maxdb"
- // SAP HANA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHanaDB = "hanadb"
- // Ingres
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemIngres = "ingres"
- // FirstSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirstSQL = "firstsql"
- // EnterpriseDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemEDB = "edb"
- // InterSystems CachΓ©
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCache = "cache"
- // Adabas (Adaptable Database System)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemAdabas = "adabas"
- // Firebird
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirebird = "firebird"
- // Apache Derby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDerby = "derby"
- // FileMaker
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFilemaker = "filemaker"
- // Informix
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInformix = "informix"
- // InstantDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInstantDB = "instantdb"
- // InterBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInterbase = "interbase"
- // MariaDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMariaDB = "mariadb"
- // Netezza
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNetezza = "netezza"
- // Pervasive PSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPervasive = "pervasive"
- // PointBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPointbase = "pointbase"
- // SQLite
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSqlite = "sqlite"
- // Sybase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSybase = "sybase"
- // Teradata
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemTeradata = "teradata"
- // Vertica
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemVertica = "vertica"
- // H2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemH2 = "h2"
- // ColdFusion IMQ
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemColdfusion = "coldfusion"
- // Apache Cassandra
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCassandra = "cassandra"
- // Apache HBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHBase = "hbase"
- // MongoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMongoDB = "mongodb"
- // Redis
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedis = "redis"
- // Couchbase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchbase = "couchbase"
- // CouchDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchDB = "couchdb"
- // Microsoft Azure Cosmos DB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCosmosDB = "cosmosdb"
- // Amazon DynamoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDynamoDB = "dynamodb"
- // Neo4j
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNeo4j = "neo4j"
- // Apache Geode
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemGeode = "geode"
- // Elasticsearch
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemElasticsearch = "elasticsearch"
- // Memcached
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMemcached = "memcached"
- // CockroachDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCockroachdb = "cockroachdb"
-)
-
-// Connection-level attributes for Microsoft SQL Server
-const (
- // The Microsoft SQL Server instance name connecting to. This name is used to
- // determine the port of a named instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MSSQLSERVER'
- // Note: If setting a db.mssql.instance_name, net.peer.port is no longer required
- // (but still recommended if non-standard).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMSSQLInstanceName = "db.mssql.instance_name"
-)
-
-// Call-level attributes for Cassandra
-const (
- // The fetch size used for paging, i.e. how many rows will be returned at once.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5000
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraPageSize = "db.cassandra.page_size"
- // The consistency level of the query. Based on consistency values from CQL.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevel = "db.cassandra.consistency_level"
- // The name of the primary table that the operation is acting upon, including the
- // keyspace name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'mytable'
- // Note: This mirrors the db.sql.table attribute but references cassandra rather
- // than sql. It is not recommended to attempt any client-side parsing of
- // db.statement just to get this property, but it should be set if it is provided
- // by the library being instrumented. If the operation is acting upon an anonymous
- // table, or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraTable = "db.cassandra.table"
- // Whether or not the query is idempotent.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraIdempotence = "db.cassandra.idempotence"
- // The number of times a query was speculatively executed. Not set or 0 if the
- // query was not executed speculatively.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 0, 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraSpeculativeExecutionCount = "db.cassandra.speculative_execution_count"
- // The ID of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'be13faa2-8574-4d71-926d-27f16cf8a7af'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorID = "db.cassandra.coordinator.id"
- // The data center of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'us-west-2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorDC = "db.cassandra.coordinator.dc"
-)
-
-const (
- // all
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAll = "all"
- // each_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelEachQuorum = "each_quorum"
- // quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelQuorum = "quorum"
- // local_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalQuorum = "local_quorum"
- // one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelOne = "one"
- // two
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelTwo = "two"
- // three
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelThree = "three"
- // local_one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalOne = "local_one"
- // any
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAny = "any"
- // serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelSerial = "serial"
- // local_serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalSerial = "local_serial"
-)
-
-// Call-level attributes for Redis
-const (
- // The index of the database being accessed as used in the SELECT command,
- // provided as an integer. To be used instead of the generic db.name attribute.
- //
- // Type: int
- // Required: Required, if other than the default database (`0`).
- // Stability: stable
- // Examples: 0, 1, 15
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBRedisDBIndex = "db.redis.database_index"
-)
-
-// Call-level attributes for MongoDB
-const (
- // The collection being accessed within the database stated in db.name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'customers', 'products'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMongoDBCollection = "db.mongodb.collection"
-)
-
-// Call-level attributes for SQL databases
-const (
- // The name of the primary table that the operation is acting upon, including the
- // database name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'public.users', 'customers'
- // Note: It is not recommended to attempt any client-side parsing of db.statement
- // just to get this property, but it should be set if it is provided by the
- // library being instrumented. If the operation is acting upon an anonymous table,
- // or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSQLTable = "db.sql.table"
-)
-
-// This document defines the attributes used to report a single exception associated with a span.
-const (
- // The type of the exception (its fully-qualified class name, if applicable). The
- // dynamic type of the exception should be preferred over the static type in
- // languages that support it.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'java.net.ConnectException', 'OSError'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionType = "exception.type"
- // The exception message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Division by zero', "Can't convert 'int' object to str implicitly"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionMessage = "exception.message"
- // A stacktrace as a string in the natural representation for the language
- // runtime. The representation is to be determined and documented by each language
- // SIG.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Exception in thread "main" java.lang.RuntimeException: Test
- // exception\\n at '
- // 'com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at '
- // 'com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at '
- // 'com.example.GenerateTrace.main(GenerateTrace.java:5)'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionStacktrace = "exception.stacktrace"
- // SHOULD be set to true if the exception event is recorded at a point where it is
- // known that the exception is escaping the scope of the span.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Note: An exception is considered to have escaped (or left) the scope of a span,
- // if that span is ended while the exception is still logically "in
- // flight".
- // This may be actually "in flight" in some languages (e.g. if the
- // exception
- // is passed to a Context manager's __exit__ method in Python) but will
- // usually be caught at the point of recording the exception in most languages.It
- // is usually not possible to determine at the point where an exception is thrown
- // whether it will escape the scope of a span.
- // However, it is trivial to know that an exception
- // will escape, if one checks for an active exception just before ending the span,
- // as done in the example above.It follows that an exception may still escape the
- // scope of the span
- // even if the exception.escaped attribute was not set or set to false,
- // since the event might have been recorded at a time where it was not
- // clear whether the exception will escape.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionEscaped = "exception.escaped"
-)
-
-// This semantic convention describes an instance of a function that runs without provisioning or managing of servers (also known as serverless functions or Function as a Service (FaaS)) with spans.
-const (
- // Type of the trigger which caused this function execution.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Note: For the server/consumer span on the incoming side,
- // faas.trigger MUST be set.Clients invoking FaaS instances usually cannot set
- // faas.trigger,
- // since they would typically need to look in the payload to determine
- // the event type. If clients set it, it should be the same as the
- // trigger that corresponding incoming would have (i.e., this has
- // nothing to do with the underlying transport used to make the API
- // call to invoke the lambda, which is often HTTP).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTrigger = "faas.trigger"
- // The execution ID of the current function execution.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'af9d5aa4-a685-4c5f-a22b-444f80b3cc28'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSExecution = "faas.execution"
-)
-
-const (
- // A response to some data source operation such as a database or filesystem read/write
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerDatasource = "datasource"
- // To provide an answer to an inbound HTTP request
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerHTTP = "http"
- // A function is set to be executed when messages are sent to a messaging system
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerPubsub = "pubsub"
- // A function is scheduled to be executed regularly
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerTimer = "timer"
- // If none of the others apply
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerOther = "other"
-)
-
-// Semantic Convention for FaaS triggered as a response to some data source operation such as a database or filesystem read/write.
-const (
- // The name of the source on which the triggering operation was performed. For
- // example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos
- // DB to the database name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myBucketName', 'myDBName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentCollection = "faas.document.collection"
- // Describes the type of the operation that was performed on the data.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperation = "faas.document.operation"
- // A string containing the time when the data was accessed in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentTime = "faas.document.time"
- // The document name/table subjected to the operation. For example, in Cloud
- // Storage or S3 is the name of the file, and in Cosmos DB the table name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myFile.txt', 'myTableName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentName = "faas.document.name"
-)
-
-const (
- // When a new object is created
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationInsert = "insert"
- // When an object is modified
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationEdit = "edit"
- // When an object is deleted
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationDelete = "delete"
-)
-
-// Semantic Convention for FaaS scheduled to be executed regularly.
-const (
- // A string containing the function invocation time in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTime = "faas.time"
- // A string containing the schedule period as Cron Expression.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0/5 * * * ? *'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSCron = "faas.cron"
-)
-
-// Contains additional attributes for incoming FaaS spans.
-const (
- // A boolean that is true if the serverless function is executed for the first
- // time (aka cold-start).
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSColdstart = "faas.coldstart"
-)
-
-// Contains additional attributes for outgoing FaaS spans.
-const (
- // The name of the invoked function.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'my-function'
- // Note: SHOULD be equal to the faas.name resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedName = "faas.invoked_name"
- // The cloud provider of the invoked function.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Note: SHOULD be equal to the cloud.provider resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProvider = "faas.invoked_provider"
- // The cloud region of the invoked function.
- //
- // Type: string
- // Required: For some cloud providers, like AWS or GCP, the region in which a
- // function is hosted is essential to uniquely identify the function and also part
- // of its endpoint. Since it's part of the endpoint being called, the region is
- // always known to clients. In these cases, `faas.invoked_region` MUST be set
- // accordingly. If the region is unknown to the client or not required for
- // identifying the invoked function, setting `faas.invoked_region` is optional.
- // Stability: stable
- // Examples: 'eu-central-1'
- // Note: SHOULD be equal to the cloud.region resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedRegion = "faas.invoked_region"
-)
-
-const (
- // Alibaba Cloud
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAlibabaCloud = "alibaba_cloud"
- // Amazon Web Services
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAWS = "aws"
- // Microsoft Azure
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAzure = "azure"
- // Google Cloud Platform
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderGCP = "gcp"
- // Tencent Cloud
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderTencentCloud = "tencent_cloud"
-)
-
-// These attributes may be used for any network related operation.
-const (
- // Transport protocol used. See note below.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransport = "net.transport"
- // Remote address of the peer (dotted decimal for IPv4 or RFC5952 for IPv6)
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '127.0.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerIP = "net.peer.ip"
- // Remote port number.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 80, 8080, 443
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerPort = "net.peer.port"
- // Remote hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerName = "net.peer.name"
- // Like net.peer.ip but for the host IP. Useful in case of a multi-IP host.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '192.168.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostIP = "net.host.ip"
- // Like net.peer.port but for the host port.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 35555
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostPort = "net.host.port"
- // Local hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'localhost'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostName = "net.host.name"
- // The internet connection type currently being used by the host.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Examples: 'wifi'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionType = "net.host.connection.type"
- // This describes more details regarding the connection.type. It may be the type
- // of cell technology connection, but it could be used for describing details
- // about a wifi connection.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Examples: 'LTE'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtype = "net.host.connection.subtype"
- // The name of the mobile carrier.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'sprint'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierName = "net.host.carrier.name"
- // The mobile carrier country code.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '310'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierMcc = "net.host.carrier.mcc"
- // The mobile carrier network code.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '001'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierMnc = "net.host.carrier.mnc"
- // The ISO 3166-1 alpha-2 2-character country code associated with the mobile
- // carrier network.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'DE'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierIcc = "net.host.carrier.icc"
-)
-
-const (
- // ip_tcp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportTCP = "ip_tcp"
- // ip_udp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUDP = "ip_udp"
- // Another IP-based protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportIP = "ip"
- // Unix Domain socket. See below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUnix = "unix"
- // Named or anonymous pipe. See note below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportPipe = "pipe"
- // In-process communication
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportInProc = "inproc"
- // Something else (non IP-based)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportOther = "other"
-)
-
-const (
- // wifi
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeWifi = "wifi"
- // wired
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeWired = "wired"
- // cell
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeCell = "cell"
- // unavailable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeUnavailable = "unavailable"
- // unknown
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeUnknown = "unknown"
-)
-
-const (
- // GPRS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeGprs = "gprs"
- // EDGE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEdge = "edge"
- // UMTS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeUmts = "umts"
- // CDMA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeCdma = "cdma"
- // EVDO Rel. 0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdo0 = "evdo_0"
- // EVDO Rev. A
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdoA = "evdo_a"
- // CDMA2000 1XRTT
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeCdma20001xrtt = "cdma2000_1xrtt"
- // HSDPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHsdpa = "hsdpa"
- // HSUPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHsupa = "hsupa"
- // HSPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHspa = "hspa"
- // IDEN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeIden = "iden"
- // EVDO Rev. B
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdoB = "evdo_b"
- // LTE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeLte = "lte"
- // EHRPD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEhrpd = "ehrpd"
- // HSPAP
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHspap = "hspap"
- // GSM
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeGsm = "gsm"
- // TD-SCDMA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeTdScdma = "td_scdma"
- // IWLAN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeIwlan = "iwlan"
- // 5G NR (New Radio)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeNr = "nr"
- // 5G NRNSA (New Radio Non-Standalone)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeNrnsa = "nrnsa"
- // LTE CA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeLteCa = "lte_ca"
-)
-
-// Operations that access some remote service.
-const (
- // The service.name of the remote service. SHOULD be equal to the actual
- // service.name resource attribute of the remote service if any.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AuthTokenCache'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributePeerService = "peer.service"
-)
-
-// These attributes may be used for any operation with an authenticated and/or authorized enduser.
-const (
- // Username or client_id extracted from the access token or Authorization header
- // in the inbound request from outside the system.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'username'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserID = "enduser.id"
- // Actual/assumed role the client is making the request under extracted from token
- // or application security context.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'admin'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserRole = "enduser.role"
- // Scopes or granted authorities the client currently possesses extracted from
- // token or application security context. The value would come from the scope
- // associated with an OAuth 2.0 Access Token or an attribute value in a SAML 2.0
- // Assertion.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'read:message, write:files'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserScope = "enduser.scope"
-)
-
-// These attributes may be used for any operation to store information about a thread that started a span.
-const (
- // Current "managed" thread ID (as opposed to OS thread ID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadID = "thread.id"
- // Current thread name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'main'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadName = "thread.name"
-)
-
-// These attributes allow to report this unit of code and therefore to provide more context about the span.
-const (
- // The method or function name, or equivalent (usually rightmost part of the code
- // unit's name).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'serveRequest'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFunction = "code.function"
- // The "namespace" within which code.function is defined. Usually the
- // qualified class or module name, such that code.namespace + some separator +
- // code.function form a unique identifier for the code unit.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'com.example.MyHTTPService'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeNamespace = "code.namespace"
- // The source code file name that identifies the code unit as uniquely as possible
- // (preferably an absolute file path).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/usr/local/MyApplication/content_root/app/index.php'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFilepath = "code.filepath"
- // The line number in code.filepath best representing the operation. It SHOULD
- // point within the code unit named in code.function.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeLineNumber = "code.lineno"
-)
-
-// This document defines semantic conventions for HTTP client and server Spans.
-const (
- // HTTP request method.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'GET', 'POST', 'HEAD'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPMethod = "http.method"
- // Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment].
- // Usually the fragment is not transmitted over HTTP, but if it is known, it
- // should be included nevertheless.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'https://www.foo.bar/search?q=OpenTelemetry#SemConv'
- // Note: http.url MUST NOT contain credentials passed via URL in form of
- // https://username:password@www.example.com/. In such case the attribute's value
- // should be https://www.example.com/.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPURL = "http.url"
- // The full request target as passed in a HTTP request line or equivalent.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/path/12314/?q=ddds#123'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPTarget = "http.target"
- // The value of the HTTP host header. An empty Host header should also be
- // reported, see note.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'www.example.org'
- // Note: When the header is present but empty the attribute SHOULD be set to the
- // empty string. Note that this is a valid situation that is expected in certain
- // cases, according the aforementioned section of RFC 7230. When the header is not
- // set the attribute MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPHost = "http.host"
- // The URI scheme identifying the used protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'http', 'https'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPScheme = "http.scheme"
- // HTTP response status code.
- //
- // Type: int
- // Required: If and only if one was received/sent.
- // Stability: stable
- // Examples: 200
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPStatusCode = "http.status_code"
- // Kind of HTTP protocol used.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Note: If net.transport is not specified, it can be assumed to be IP.TCP except
- // if http.flavor is QUIC, in which case IP.UDP is assumed.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavor = "http.flavor"
- // Value of the HTTP User-Agent header sent by the client.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'CERN-LineMode/2.15 libwww/2.17b3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPUserAgent = "http.user_agent"
- // The size of the request payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLength = "http.request_content_length"
- // The size of the uncompressed request payload body after transport decoding. Not
- // set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLengthUncompressed = "http.request_content_length_uncompressed"
- // The size of the response payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLength = "http.response_content_length"
- // The size of the uncompressed response payload body after transport decoding.
- // Not set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLengthUncompressed = "http.response_content_length_uncompressed"
-)
-
-const (
- // HTTP 1.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP10 = "1.0"
- // HTTP 1.1
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP11 = "1.1"
- // HTTP 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP20 = "2.0"
- // SPDY protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorSPDY = "SPDY"
- // QUIC protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorQUIC = "QUIC"
-)
-
-// Semantic Convention for HTTP Server
-const (
- // The primary server name of the matched virtual host. This should be obtained
- // via configuration. If no such configuration can be obtained, this attribute
- // MUST NOT be set ( net.host.name should be used instead).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Note: http.url is usually not readily available on the server side but would
- // have to be assembled in a cumbersome and sometimes lossy process from other
- // information (see e.g. open-telemetry/opentelemetry-python/pull/148). It is thus
- // preferred to supply the raw data that is available.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPServerName = "http.server_name"
- // The matched route (path template).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/users/:userID?'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRoute = "http.route"
- // The IP address of the original client behind all proxies, if known (e.g. from
- // X-Forwarded-For).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '83.164.160.102'
- // Note: This is not necessarily the same as net.peer.ip, which would
- // identify the network-level peer, which may be a proxy.This attribute should be
- // set when a source of information different
- // from the one used for net.peer.ip, is available even if that other
- // source just confirms the same value as net.peer.ip.
- // Rationale: For net.peer.ip, one typically does not know if it
- // comes from a proxy, reverse proxy, or the actual client. Setting
- // http.client_ip when it's the same as net.peer.ip means that
- // one is at least somewhat confident that the address is not that of
- // the closest proxy.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPClientIP = "http.client_ip"
-)
-
-// Attributes that exist for multiple DynamoDB request types.
-const (
- // The keys in the RequestItems object field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'Cats'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableNames = "aws.dynamodb.table_names"
- // The JSON-serialized value of each item in the ConsumedCapacity response field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : {
- // "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number } },
- // "ReadCapacityUnits": number, "Table": { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName":
- // "string", "WriteCapacityUnits": number }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsumedCapacity = "aws.dynamodb.consumed_capacity"
- // The JSON-serialized value of the ItemCollectionMetrics response field.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob,
- // "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" :
- // "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S":
- // "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBItemCollectionMetrics = "aws.dynamodb.item_collection_metrics"
- // The value of the ProvisionedThroughput.ReadCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedReadCapacity = "aws.dynamodb.provisioned_read_capacity"
- // The value of the ProvisionedThroughput.WriteCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedWriteCapacity = "aws.dynamodb.provisioned_write_capacity"
- // The value of the ConsistentRead request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsistentRead = "aws.dynamodb.consistent_read"
- // The value of the ProjectionExpression request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Title', 'Title, Price, Color', 'Title, Description, RelatedItems,
- // ProductReviews'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProjection = "aws.dynamodb.projection"
- // The value of the Limit request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLimit = "aws.dynamodb.limit"
- // The value of the AttributesToGet request parameter.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'lives', 'id'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributesToGet = "aws.dynamodb.attributes_to_get"
- // The value of the IndexName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'name_to_group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBIndexName = "aws.dynamodb.index_name"
- // The value of the Select request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ALL_ATTRIBUTES', 'COUNT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSelect = "aws.dynamodb.select"
-)
-
-// DynamoDB.CreateTable
-const (
- // The JSON-serialized value of each item of the GlobalSecondaryIndexes request
- // field
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexName": "string", "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits":
- // number, "WriteCapacityUnits": number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexes = "aws.dynamodb.global_secondary_indexes"
- // The JSON-serialized value of each item of the LocalSecondaryIndexes request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexARN": "string", "IndexName": "string", "IndexSizeBytes":
- // number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLocalSecondaryIndexes = "aws.dynamodb.local_secondary_indexes"
-)
-
-// DynamoDB.ListTables
-const (
- // The value of the ExclusiveStartTableName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'CatsTable'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBExclusiveStartTable = "aws.dynamodb.exclusive_start_table"
- // The the number of items in the TableNames response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 20
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableCount = "aws.dynamodb.table_count"
-)
-
-// DynamoDB.Query
-const (
- // The value of the ScanIndexForward request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScanForward = "aws.dynamodb.scan_forward"
-)
-
-// DynamoDB.Scan
-const (
- // The value of the Segment request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSegment = "aws.dynamodb.segment"
- // The value of the TotalSegments request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTotalSegments = "aws.dynamodb.total_segments"
- // The value of the Count response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBCount = "aws.dynamodb.count"
- // The value of the ScannedCount response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 50
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScannedCount = "aws.dynamodb.scanned_count"
-)
-
-// DynamoDB.UpdateTable
-const (
- // The JSON-serialized value of each item in the AttributeDefinitions request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributeDefinitions = "aws.dynamodb.attribute_definitions"
- // The JSON-serialized value of each item in the the GlobalSecondaryIndexUpdates
- // request field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "Create": { "IndexName": "string", "KeySchema": [ {
- // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
- // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" },
- // "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates = "aws.dynamodb.global_secondary_index_updates"
-)
-
-// This document defines the attributes used in messaging systems.
-const (
- // A string identifying the messaging system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'kafka', 'rabbitmq', 'rocketmq', 'activemq', 'AmazonSQS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingSystem = "messaging.system"
- // The message destination name. This might be equal to the span name but is
- // required nevertheless.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'MyQueue', 'MyTopic'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestination = "messaging.destination"
- // The kind of message destination
- //
- // Type: Enum
- // Required: Required only if the message destination is either a `queue` or
- // `topic`.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKind = "messaging.destination_kind"
- // A boolean that is true if the message destination is temporary.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingTempDestination = "messaging.temp_destination"
- // The name of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AMQP', 'MQTT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocol = "messaging.protocol"
- // The version of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.9.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocolVersion = "messaging.protocol_version"
- // Connection string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'tibjmsnaming://localhost:7222',
- // 'https://queue.amazonaws.com/80398EXAMPLE/MyQueue'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingURL = "messaging.url"
- // A value used by the messaging system as an identifier for the message,
- // represented as a string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '452a7c7c7c7048c2f887f61572b18fc2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessageID = "messaging.message_id"
- // The conversation ID identifying the conversation to which the message belongs,
- // represented as a string. Sometimes called "Correlation ID".
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MyConversationID'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingConversationID = "messaging.conversation_id"
- // The (uncompressed) size of the message payload in bytes. Also use this
- // attribute if it is unknown whether the compressed or uncompressed payload size
- // is reported.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2738
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadSizeBytes = "messaging.message_payload_size_bytes"
- // The compressed size of the message payload in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2048
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadCompressedSizeBytes = "messaging.message_payload_compressed_size_bytes"
-)
-
-const (
- // A message sent to a queue
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindQueue = "queue"
- // A message sent to a topic
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindTopic = "topic"
-)
-
-// Semantic convention for a consumer of messages received from a messaging system
-const (
- // A string identifying the kind of message consumption as defined in the
- // Operation names section above. If the operation is "send", this
- // attribute MUST NOT be set, since the operation can be inferred from the span
- // kind in that case.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperation = "messaging.operation"
- // The identifier for the consumer receiving a message. For Kafka, set it to
- // {messaging.kafka.consumer_group} - {messaging.kafka.client_id}, if both are
- // present, or only messaging.kafka.consumer_group. For brokers, such as RabbitMQ
- // and Artemis, set it to the client_id of the client consuming the message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'mygroup - client-6'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingConsumerID = "messaging.consumer_id"
-)
-
-const (
- // receive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationReceive = "receive"
- // process
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationProcess = "process"
-)
-
-// Attributes for RabbitMQ
-const (
- // RabbitMQ message routing key.
- //
- // Type: string
- // Required: Unless it is empty.
- // Stability: stable
- // Examples: 'myKey'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRabbitmqRoutingKey = "messaging.rabbitmq.routing_key"
-)
-
-// Attributes for Apache Kafka
-const (
- // Message keys in Kafka are used for grouping alike messages to ensure they're
- // processed on the same partition. They differ from messaging.message_id in that
- // they're not unique. If the key is null, the attribute MUST NOT be set.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myKey'
- // Note: If the key type is not string, it's string representation has to be
- // supplied for the attribute. If the key has no unambiguous, canonical string
- // form, don't include its value.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaMessageKey = "messaging.kafka.message_key"
- // Name of the Kafka Consumer Group that is handling the message. Only applies to
- // consumers, not producers.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'my-group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaConsumerGroup = "messaging.kafka.consumer_group"
- // Client ID for the Consumer or Producer that is handling the message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'client-5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaClientID = "messaging.kafka.client_id"
- // Partition the message is sent to.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaPartition = "messaging.kafka.partition"
- // A boolean that is true if the message is a tombstone.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaTombstone = "messaging.kafka.tombstone"
-)
-
-// Attributes for Apache RocketMQ
-const (
- // Namespace of RocketMQ resources, resources in different namespaces are
- // individual.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myNamespace'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqNamespace = "messaging.rocketmq.namespace"
- // Name of the RocketMQ producer/consumer group that is handling the message. The
- // client type is identified by the SpanKind.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myConsumerGroup'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqClientGroup = "messaging.rocketmq.client_group"
- // The unique identifier for each client.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myhost@8742@s8083jm'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqClientID = "messaging.rocketmq.client_id"
- // Type of message.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageType = "messaging.rocketmq.message_type"
- // The secondary classifier of message besides topic.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'tagA'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTag = "messaging.rocketmq.message_tag"
- // Key(s) of message, another way to mark message besides message id.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'keyA', 'keyB'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageKeys = "messaging.rocketmq.message_keys"
- // Model of message consumption. This only applies to consumer spans.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqConsumptionModel = "messaging.rocketmq.consumption_model"
-)
-
-const (
- // Normal message
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTypeNormal = "normal"
- // FIFO message
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTypeFifo = "fifo"
- // Delay message
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTypeDelay = "delay"
- // Transaction message
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTypeTransaction = "transaction"
-)
-
-const (
- // Clustering consumption model
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqConsumptionModelClustering = "clustering"
- // Broadcasting consumption model
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqConsumptionModelBroadcasting = "broadcasting"
-)
-
-// This document defines semantic conventions for remote procedure calls.
-const (
- // A string identifying the remoting system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'grpc', 'java_rmi', 'wcf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCSystem = "rpc.system"
- // The full (logical) name of the service being called, including its package
- // name, if applicable.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'myservice.EchoService'
- // Note: This is the logical name of the service from the RPC interface
- // perspective, which can be different from the name of any implementing class.
- // The code.namespace attribute may be used to store the latter (despite the
- // attribute name, it may include a class name; e.g., class with method actually
- // executing the call on the server side, RPC client stub class on the client
- // side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCService = "rpc.service"
- // The name of the (logical) method being called, must be equal to the $method
- // part in the span name.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'exampleMethod'
- // Note: This is the logical name of the method from the RPC interface
- // perspective, which can be different from the name of any implementing
- // method/function. The code.function attribute may be used to store the latter
- // (e.g., method actually executing the call on the server side, RPC client stub
- // method on the client side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCMethod = "rpc.method"
-)
-
-// Tech-specific attributes for gRPC.
-const (
- // The numeric status code of the gRPC request.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCode = "rpc.grpc.status_code"
-)
-
-const (
- // OK
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOk = "0"
- // CANCELLED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeCancelled = "1"
- // UNKNOWN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnknown = "2"
- // INVALID_ARGUMENT
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInvalidArgument = "3"
- // DEADLINE_EXCEEDED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDeadlineExceeded = "4"
- // NOT_FOUND
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeNotFound = "5"
- // ALREADY_EXISTS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAlreadyExists = "6"
- // PERMISSION_DENIED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodePermissionDenied = "7"
- // RESOURCE_EXHAUSTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeResourceExhausted = "8"
- // FAILED_PRECONDITION
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeFailedPrecondition = "9"
- // ABORTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAborted = "10"
- // OUT_OF_RANGE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOutOfRange = "11"
- // UNIMPLEMENTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnimplemented = "12"
- // INTERNAL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInternal = "13"
- // UNAVAILABLE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnavailable = "14"
- // DATA_LOSS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDataLoss = "15"
- // UNAUTHENTICATED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnauthenticated = "16"
-)
-
-// Tech-specific attributes for [JSON RPC](https://www.jsonrpc.org/).
-const (
- // Protocol version as in jsonrpc property of request/response. Since JSON-RPC 1.0
- // does not specify this, the value can be omitted.
- //
- // Type: string
- // Required: If missing, it is assumed to be "1.0".
- // Stability: stable
- // Examples: '2.0', '1.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcVersion = "rpc.jsonrpc.version"
- // id property of request or response. Since protocol allows id to be int, string,
- // null or missing (for notifications), value is expected to be cast to string for
- // simplicity. Use empty string in case of null value. Omit entirely if this is a
- // notification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '10', 'request-7', ''
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcRequestID = "rpc.jsonrpc.request_id"
- // error.code property of response if it is an error response.
- //
- // Type: int
- // Required: If missing, response is assumed to be successful.
- // Stability: stable
- // Examples: -32700, 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorCode = "rpc.jsonrpc.error_code"
- // error.message property of response if it is an error response.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Parse error', 'User already exists'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorMessage = "rpc.jsonrpc.error_message"
-)
-
-// RPC received/sent message.
-const (
- // Whether this is a received or sent message.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageType = "message.type"
- // MUST be calculated as two different counters starting from 1 one for sent
- // messages and one for received message.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Note: This way we guarantee that the values will be consistent between
- // different implementations.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageID = "message.id"
- // Compressed size of the message in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageCompressedSize = "message.compressed_size"
- // Uncompressed size of the message in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageUncompressedSize = "message.uncompressed_size"
-)
-
-const (
- // sent
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageTypeSent = "SENT"
- // received
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageTypeReceived = "RECEIVED"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetTraceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeAWSLambdaInvokedARN,
- AttributeDBSystem,
- AttributeDBConnectionString,
- AttributeDBUser,
- AttributeDBJDBCDriverClassname,
- AttributeDBName,
- AttributeDBStatement,
- AttributeDBOperation,
- AttributeDBMSSQLInstanceName,
- AttributeDBCassandraPageSize,
- AttributeDBCassandraConsistencyLevel,
- AttributeDBCassandraTable,
- AttributeDBCassandraIdempotence,
- AttributeDBCassandraSpeculativeExecutionCount,
- AttributeDBCassandraCoordinatorID,
- AttributeDBCassandraCoordinatorDC,
- AttributeDBRedisDBIndex,
- AttributeDBMongoDBCollection,
- AttributeDBSQLTable,
- AttributeExceptionType,
- AttributeExceptionMessage,
- AttributeExceptionStacktrace,
- AttributeExceptionEscaped,
- AttributeFaaSTrigger,
- AttributeFaaSExecution,
- AttributeFaaSDocumentCollection,
- AttributeFaaSDocumentOperation,
- AttributeFaaSDocumentTime,
- AttributeFaaSDocumentName,
- AttributeFaaSTime,
- AttributeFaaSCron,
- AttributeFaaSColdstart,
- AttributeFaaSInvokedName,
- AttributeFaaSInvokedProvider,
- AttributeFaaSInvokedRegion,
- AttributeNetTransport,
- AttributeNetPeerIP,
- AttributeNetPeerPort,
- AttributeNetPeerName,
- AttributeNetHostIP,
- AttributeNetHostPort,
- AttributeNetHostName,
- AttributeNetHostConnectionType,
- AttributeNetHostConnectionSubtype,
- AttributeNetHostCarrierName,
- AttributeNetHostCarrierMcc,
- AttributeNetHostCarrierMnc,
- AttributeNetHostCarrierIcc,
- AttributePeerService,
- AttributeEnduserID,
- AttributeEnduserRole,
- AttributeEnduserScope,
- AttributeThreadID,
- AttributeThreadName,
- AttributeCodeFunction,
- AttributeCodeNamespace,
- AttributeCodeFilepath,
- AttributeCodeLineNumber,
- AttributeHTTPMethod,
- AttributeHTTPURL,
- AttributeHTTPTarget,
- AttributeHTTPHost,
- AttributeHTTPScheme,
- AttributeHTTPStatusCode,
- AttributeHTTPFlavor,
- AttributeHTTPUserAgent,
- AttributeHTTPRequestContentLength,
- AttributeHTTPRequestContentLengthUncompressed,
- AttributeHTTPResponseContentLength,
- AttributeHTTPResponseContentLengthUncompressed,
- AttributeHTTPServerName,
- AttributeHTTPRoute,
- AttributeHTTPClientIP,
- AttributeAWSDynamoDBTableNames,
- AttributeAWSDynamoDBConsumedCapacity,
- AttributeAWSDynamoDBItemCollectionMetrics,
- AttributeAWSDynamoDBProvisionedReadCapacity,
- AttributeAWSDynamoDBProvisionedWriteCapacity,
- AttributeAWSDynamoDBConsistentRead,
- AttributeAWSDynamoDBProjection,
- AttributeAWSDynamoDBLimit,
- AttributeAWSDynamoDBAttributesToGet,
- AttributeAWSDynamoDBIndexName,
- AttributeAWSDynamoDBSelect,
- AttributeAWSDynamoDBGlobalSecondaryIndexes,
- AttributeAWSDynamoDBLocalSecondaryIndexes,
- AttributeAWSDynamoDBExclusiveStartTable,
- AttributeAWSDynamoDBTableCount,
- AttributeAWSDynamoDBScanForward,
- AttributeAWSDynamoDBSegment,
- AttributeAWSDynamoDBTotalSegments,
- AttributeAWSDynamoDBCount,
- AttributeAWSDynamoDBScannedCount,
- AttributeAWSDynamoDBAttributeDefinitions,
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates,
- AttributeMessagingSystem,
- AttributeMessagingDestination,
- AttributeMessagingDestinationKind,
- AttributeMessagingTempDestination,
- AttributeMessagingProtocol,
- AttributeMessagingProtocolVersion,
- AttributeMessagingURL,
- AttributeMessagingMessageID,
- AttributeMessagingConversationID,
- AttributeMessagingMessagePayloadSizeBytes,
- AttributeMessagingMessagePayloadCompressedSizeBytes,
- AttributeMessagingOperation,
- AttributeMessagingConsumerID,
- AttributeMessagingRabbitmqRoutingKey,
- AttributeMessagingKafkaMessageKey,
- AttributeMessagingKafkaConsumerGroup,
- AttributeMessagingKafkaClientID,
- AttributeMessagingKafkaPartition,
- AttributeMessagingKafkaTombstone,
- AttributeMessagingRocketmqNamespace,
- AttributeMessagingRocketmqClientGroup,
- AttributeMessagingRocketmqClientID,
- AttributeMessagingRocketmqMessageType,
- AttributeMessagingRocketmqMessageTag,
- AttributeMessagingRocketmqMessageKeys,
- AttributeMessagingRocketmqConsumptionModel,
- AttributeRPCSystem,
- AttributeRPCService,
- AttributeRPCMethod,
- AttributeRPCGRPCStatusCode,
- AttributeRPCJsonrpcVersion,
- AttributeRPCJsonrpcRequestID,
- AttributeRPCJsonrpcErrorCode,
- AttributeRPCJsonrpcErrorMessage,
- AttributeMessageType,
- AttributeMessageID,
- AttributeMessageCompressedSize,
- AttributeMessageUncompressedSize,
- }
-}
diff --git a/model/semconv/v1.8.0/nonstandard.go b/model/semconv/v1.8.0/nonstandard.go
deleted file mode 100644
index 66bf56f78d4..00000000000
--- a/model/semconv/v1.8.0/nonstandard.go
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.8.0"
-
-const (
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelLibraryName = "otel.library.name"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelLibraryVersion = "otel.library.version"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusCode = "otel.status_code"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusDescription = "otel.status_description"
-)
diff --git a/model/semconv/v1.8.0/schema.go b/model/semconv/v1.8.0/schema.go
deleted file mode 100644
index 8274dd17891..00000000000
--- a/model/semconv/v1.8.0/schema.go
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.8.0"
-
-// SchemaURL is the schema URL that matches the version of the semantic conventions
-// that this package defines. Conventions packages starting from v1.4.0 must declare
-// non-empty schema URL in the form https://opentelemetry.io/schemas/
- //
- // Take care not to use the "invoked ARN" directly but replace any
- // alias suffix with the resolved function version, as the same runtime instance
- // may be invokable with multiple
- // different aliases.
- //
- // On some providers, it may not be possible to determine the full ID at startup,
- // which is why this field cannot be made required. For example, on AWS the
- // account ID
- // part of the ARN is not available without calling another AWS API
- // which may be deemed too slow for a short-running lambda function.
- // As an alternative, consider setting faas.id as a span attribute instead.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSID = "faas.id"
- // The immutable version of the function being executed.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '26', 'pinkfroid-00002'
- // Note: Depending on the cloud provider and platform, use:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSVersion = "faas.version"
- // The execution environment ID as a string, that will be potentially reused for
- // other invocations to the same function/function version.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de'
- // Note:
- //
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInstance = "faas.instance"
- // The amount of memory available to the serverless function in MiB.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 128
- // Note: It's recommended to set this attribute since e.g. too little memory can
- // easily stop a Java AWS Lambda function from working correctly. On AWS Lambda,
- // the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this
- // information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSMaxMemory = "faas.max_memory"
-)
-
-// A host is defined as a general computing instance.
-const (
- // Unique host ID. For Cloud, this must be the instance_id assigned by the cloud
- // provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostID = "host.id"
- // Name of the host. On Unix systems, it may contain what the hostname command
- // returns, or the fully qualified hostname, or another name specified by the
- // user.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-test'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostName = "host.name"
- // Type of host. For Cloud, this must be the machine type.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'n1-standard-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostType = "host.type"
- // The CPU architecture the host system is running on.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArch = "host.arch"
- // Name of the VM image or OS install the host was instantiated from.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageName = "host.image.name"
- // VM image ID. For Cloud, this value is from the provider.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ami-07b06b442921831e5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageID = "host.image.id"
- // The version string of the VM image as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostImageVersion = "host.image.version"
-)
-
-const (
- // AMD64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchAMD64 = "amd64"
- // ARM32
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM32 = "arm32"
- // ARM64
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchARM64 = "arm64"
- // Itanium
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchIA64 = "ia64"
- // 32-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC32 = "ppc32"
- // 64-bit PowerPC
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchPPC64 = "ppc64"
- // IBM z/Architecture
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchS390x = "s390x"
- // 32-bit x86
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHostArchX86 = "x86"
-)
-
-// A Kubernetes Cluster.
-const (
- // The name of the cluster.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-cluster'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SClusterName = "k8s.cluster.name"
-)
-
-// A Kubernetes Node object.
-const (
- // The name of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'node-1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeName = "k8s.node.name"
- // The UID of the Node.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNodeUID = "k8s.node.uid"
-)
-
-// A Kubernetes Namespace.
-const (
- // The name of the namespace that the pod is running in.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'default'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SNamespaceName = "k8s.namespace.name"
-)
-
-// A Kubernetes Pod object.
-const (
- // The UID of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodUID = "k8s.pod.uid"
- // The name of the Pod.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry-pod-autoconf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SPodName = "k8s.pod.name"
-)
-
-// A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
-const (
- // The name of the Container from Pod specification, must be unique within a Pod.
- // Container runtime usually uses different globally unique name (container.name).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'redis'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SContainerName = "k8s.container.name"
- // Number of times the container was restarted. This attribute can be used to
- // identify a particular container (running or stopped) within a container spec.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 0, 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SContainerRestartCount = "k8s.container.restart_count"
-)
-
-// A Kubernetes ReplicaSet object.
-const (
- // The UID of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetUID = "k8s.replicaset.uid"
- // The name of the ReplicaSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SReplicaSetName = "k8s.replicaset.name"
-)
-
-// A Kubernetes Deployment object.
-const (
- // The UID of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentUID = "k8s.deployment.uid"
- // The name of the Deployment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDeploymentName = "k8s.deployment.name"
-)
-
-// A Kubernetes StatefulSet object.
-const (
- // The UID of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetUID = "k8s.statefulset.uid"
- // The name of the StatefulSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SStatefulSetName = "k8s.statefulset.name"
-)
-
-// A Kubernetes DaemonSet object.
-const (
- // The UID of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetUID = "k8s.daemonset.uid"
- // The name of the DaemonSet.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SDaemonSetName = "k8s.daemonset.name"
-)
-
-// A Kubernetes Job object.
-const (
- // The UID of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobUID = "k8s.job.uid"
- // The name of the Job.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SJobName = "k8s.job.name"
-)
-
-// A Kubernetes CronJob object.
-const (
- // The UID of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobUID = "k8s.cronjob.uid"
- // The name of the CronJob.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeK8SCronJobName = "k8s.cronjob.name"
-)
-
-// The operating system (OS) on which the process represented by this resource is running.
-const (
- // The operating system type.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSType = "os.type"
- // Human readable (not intended to be parsed) OS version information, like e.g.
- // reported by ver or lsb_release -a commands.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1 LTS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSDescription = "os.description"
- // Human readable operating system name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'iOS', 'Android', 'Ubuntu'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSName = "os.name"
- // The version string of the operating system as defined in Version Attributes.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.2.1', '18.04.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSVersion = "os.version"
-)
-
-const (
- // Microsoft Windows
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeWindows = "windows"
- // Linux
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeLinux = "linux"
- // Apple Darwin
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDarwin = "darwin"
- // FreeBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeFreeBSD = "freebsd"
- // NetBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeNetBSD = "netbsd"
- // OpenBSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeOpenBSD = "openbsd"
- // DragonFly BSD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeDragonflyBSD = "dragonflybsd"
- // HP-UX (Hewlett Packard Unix)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeHPUX = "hpux"
- // AIX (Advanced Interactive eXecutive)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeAIX = "aix"
- // Oracle Solaris
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeSolaris = "solaris"
- // IBM z/OS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOSTypeZOS = "z_os"
-)
-
-// An operating system process.
-const (
- // Process identifier (PID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 1234
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessPID = "process.pid"
- // The name of the process executable. On Linux based systems, can be set to the
- // Name in proc/[pid]/status. On Windows, can be set to the base name of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutableName = "process.executable.name"
- // The full path to the process executable. On Linux based systems, can be set to
- // the target of proc/[pid]/exe. On Windows, can be set to the result of
- // GetProcessImageFileNameW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: '/usr/bin/cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessExecutablePath = "process.executable.path"
- // The command used to launch the process (i.e. the command name). On Linux based
- // systems, can be set to the zeroth string in proc/[pid]/cmdline. On Windows, can
- // be set to the first parameter extracted from GetCommandLineW.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otelcol'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommand = "process.command"
- // The full command used to launch the process as a single string representing the
- // full command. On Windows, can be set to the result of GetCommandLineW. Do not
- // set this if you have to assemble it just for monitoring; use
- // process.command_args instead.
- //
- // Type: string
- // Required: See below
- // Stability: stable
- // Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandLine = "process.command_line"
- // All the command arguments (including the command/executable itself) as received
- // by the process. On Linux-based systems (and some other Unixoid systems
- // supporting procfs), can be set according to the list of null-delimited strings
- // extracted from proc/[pid]/cmdline. For libc-based executables, this would be
- // the full argv vector passed to main.
- //
- // Type: string[]
- // Required: See below
- // Stability: stable
- // Examples: 'cmd/otecol', '--config=config.yaml'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessCommandArgs = "process.command_args"
- // The username of the user that owns the process.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'root'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessOwner = "process.owner"
-)
-
-// The single (language) runtime instance which is monitored.
-const (
- // The name of the runtime of this process. For compiled native binaries, this
- // SHOULD be the name of the compiler.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'OpenJDK Runtime Environment'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeName = "process.runtime.name"
- // The version of the runtime of this process, as returned by the runtime without
- // modification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '14.0.2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeVersion = "process.runtime.version"
- // An additional description about the runtime of the process, for example a
- // specific vendor customization of the runtime environment.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeProcessRuntimeDescription = "process.runtime.description"
-)
-
-// A service instance.
-const (
- // Logical name of the service.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'shoppingcart'
- // Note: MUST be the same for all instances of horizontally scaled services. If
- // the value was not specified, SDKs MUST fallback to unknown_service:
- // concatenated with process.executable.name, e.g. unknown_service:bash. If
- // process.executable.name is not available, the value MUST be set to
- // unknown_service.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceName = "service.name"
- // A namespace for service.name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Shop'
- // Note: A string value having a meaning that helps to distinguish a group of
- // services, for example the team name that owns a group of services. service.name
- // is expected to be unique within the same namespace. If service.namespace is not
- // specified in the Resource then service.name is expected to be unique for all
- // services that have no explicit namespace defined (so the empty/unspecified
- // namespace is simply one more valid namespace). Zero-length namespace string is
- // assumed equal to unspecified namespace.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceNamespace = "service.namespace"
- // The string ID of the service instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '627cc493-f310-47de-96bd-71410b7dec09'
- // Note: MUST be unique for each instance of the same
- // service.namespace,service.name pair (in other words
- // service.namespace,service.name,service.instance.id triplet MUST be globally
- // unique). The ID helps to distinguish instances of the same service that exist
- // at the same time (e.g. instances of a horizontally scaled service). It is
- // preferable for the ID to be persistent and stay the same for the lifetime of
- // the service instance, however it is acceptable that the ID is ephemeral and
- // changes during important lifetime events for the service (e.g. service
- // restarts). If the service has no inherent unique ID that can be used as the
- // value of this attribute it is recommended to generate a random Version 1 or
- // Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use
- // Version 5, see RFC 4122 for more recommendations).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceInstanceID = "service.instance.id"
- // The version string of the service API or implementation.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '2.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeServiceVersion = "service.version"
-)
-
-// The telemetry SDK used to capture data recorded by the instrumentation libraries.
-const (
- // The name of the telemetry SDK as defined above.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'opentelemetry'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKName = "telemetry.sdk.name"
- // The language of the telemetry SDK.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguage = "telemetry.sdk.language"
- // The version string of the telemetry SDK.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKVersion = "telemetry.sdk.version"
- // The version string of the auto instrumentation agent, if used.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '1.2.3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetryAutoVersion = "telemetry.auto.version"
-)
-
-const (
- // cpp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageCPP = "cpp"
- // dotnet
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageDotnet = "dotnet"
- // erlang
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageErlang = "erlang"
- // go
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageGo = "go"
- // java
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageJava = "java"
- // nodejs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageNodejs = "nodejs"
- // php
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePHP = "php"
- // python
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguagePython = "python"
- // ruby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageRuby = "ruby"
- // webjs
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageWebjs = "webjs"
- // swift
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeTelemetrySDKLanguageSwift = "swift"
-)
-
-// Resource describing the packaged software running the application code. Web engines are typically executed using process.runtime.
-const (
- // The name of the web engine.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'WildFly'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineName = "webengine.name"
- // The version of the web engine.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '21.0.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineVersion = "webengine.version"
- // Additional description of the web engine (e.g. detailed version and edition
- // information).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeWebEngineDescription = "webengine.description"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetResourceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeCloudProvider,
- AttributeCloudAccountID,
- AttributeCloudRegion,
- AttributeCloudAvailabilityZone,
- AttributeCloudPlatform,
- AttributeAWSECSContainerARN,
- AttributeAWSECSClusterARN,
- AttributeAWSECSLaunchtype,
- AttributeAWSECSTaskARN,
- AttributeAWSECSTaskFamily,
- AttributeAWSECSTaskRevision,
- AttributeAWSEKSClusterARN,
- AttributeAWSLogGroupNames,
- AttributeAWSLogGroupARNs,
- AttributeAWSLogStreamNames,
- AttributeAWSLogStreamARNs,
- AttributeContainerName,
- AttributeContainerID,
- AttributeContainerRuntime,
- AttributeContainerImageName,
- AttributeContainerImageTag,
- AttributeDeploymentEnvironment,
- AttributeDeviceID,
- AttributeDeviceModelIdentifier,
- AttributeDeviceModelName,
- AttributeDeviceManufacturer,
- AttributeFaaSName,
- AttributeFaaSID,
- AttributeFaaSVersion,
- AttributeFaaSInstance,
- AttributeFaaSMaxMemory,
- AttributeHostID,
- AttributeHostName,
- AttributeHostType,
- AttributeHostArch,
- AttributeHostImageName,
- AttributeHostImageID,
- AttributeHostImageVersion,
- AttributeK8SClusterName,
- AttributeK8SNodeName,
- AttributeK8SNodeUID,
- AttributeK8SNamespaceName,
- AttributeK8SPodUID,
- AttributeK8SPodName,
- AttributeK8SContainerName,
- AttributeK8SContainerRestartCount,
- AttributeK8SReplicaSetUID,
- AttributeK8SReplicaSetName,
- AttributeK8SDeploymentUID,
- AttributeK8SDeploymentName,
- AttributeK8SStatefulSetUID,
- AttributeK8SStatefulSetName,
- AttributeK8SDaemonSetUID,
- AttributeK8SDaemonSetName,
- AttributeK8SJobUID,
- AttributeK8SJobName,
- AttributeK8SCronJobUID,
- AttributeK8SCronJobName,
- AttributeOSType,
- AttributeOSDescription,
- AttributeOSName,
- AttributeOSVersion,
- AttributeProcessPID,
- AttributeProcessExecutableName,
- AttributeProcessExecutablePath,
- AttributeProcessCommand,
- AttributeProcessCommandLine,
- AttributeProcessCommandArgs,
- AttributeProcessOwner,
- AttributeProcessRuntimeName,
- AttributeProcessRuntimeVersion,
- AttributeProcessRuntimeDescription,
- AttributeServiceName,
- AttributeServiceNamespace,
- AttributeServiceInstanceID,
- AttributeServiceVersion,
- AttributeTelemetrySDKName,
- AttributeTelemetrySDKLanguage,
- AttributeTelemetrySDKVersion,
- AttributeTelemetryAutoVersion,
- AttributeWebEngineName,
- AttributeWebEngineVersion,
- AttributeWebEngineDescription,
- }
-}
diff --git a/model/semconv/v1.9.0/generated_trace.go b/model/semconv/v1.9.0/generated_trace.go
deleted file mode 100644
index 659b36d72c8..00000000000
--- a/model/semconv/v1.9.0/generated_trace.go
+++ /dev/null
@@ -1,2021 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-// Code generated from semantic convention specification. DO NOT EDIT.
-
-package semconv
-
-// Span attributes used by AWS Lambda (in addition to general `faas` attributes).
-const (
- // The full invoked ARN as provided on the Context passed to the function (Lambda-
- // Runtime-Invoked-Function-ARN header on the /runtime/invocation/next
- // applicable).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'arn:aws:lambda:us-east-1:123456:function:myfunction:myalias'
- // Note: This may be different from faas.id if an alias is involved.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSLambdaInvokedARN = "aws.lambda.invoked_arn"
-)
-
-// This document defines semantic conventions for the OpenTracing Shim
-const (
- // Parent-child Reference type
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Note: The causal relationship between a child Span and a parent Span.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOpentracingRefType = "opentracing.ref_type"
-)
-
-const (
- // The parent Span depends on the child Span in some capacity
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOpentracingRefTypeChildOf = "child_of"
- // The parent Span does not depend in any way on the result of the child Span
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeOpentracingRefTypeFollowsFrom = "follows_from"
-)
-
-// This document defines the attributes used to perform database client calls.
-const (
- // An identifier for the database management system (DBMS) product being used. See
- // below for a list of well-known identifiers.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystem = "db.system"
- // The connection string used to connect to the database. It is recommended to
- // remove embedded credentials.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Server=(localdb)\\v11.0;Integrated Security=true;'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBConnectionString = "db.connection_string"
- // Username for accessing the database.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'readonly_user', 'reporting_user'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBUser = "db.user"
- // The fully-qualified class name of the Java Database Connectivity (JDBC) driver
- // used to connect.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'org.postgresql.Driver',
- // 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBJDBCDriverClassname = "db.jdbc.driver_classname"
- // This attribute is used to report the name of the database being accessed. For
- // commands that switch the database, this should be set to the target database
- // (even if the command fails).
- //
- // Type: string
- // Required: Required, if applicable.
- // Stability: stable
- // Examples: 'customers', 'main'
- // Note: In some SQL databases, the database name to be used is called
- // "schema name". In case there are multiple layers that could be
- // considered for database name (e.g. Oracle instance name and schema name), the
- // database name to be used is the more specific layer (e.g. Oracle schema name).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBName = "db.name"
- // The database statement being executed.
- //
- // Type: string
- // Required: Required if applicable and not explicitly disabled via
- // instrumentation configuration.
- // Stability: stable
- // Examples: 'SELECT * FROM wuser_table', 'SET mykey "WuValue"'
- // Note: The value may be sanitized to exclude sensitive information.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBStatement = "db.statement"
- // The name of the operation being executed, e.g. the MongoDB command name such as
- // findAndModify, or the SQL keyword.
- //
- // Type: string
- // Required: Required, if `db.statement` is not applicable.
- // Stability: stable
- // Examples: 'findAndModify', 'HMSET', 'SELECT'
- // Note: When setting this to an SQL keyword, it is not recommended to attempt any
- // client-side parsing of db.statement just to get this property, but it should be
- // set if the operation name is provided by the library being instrumented. If the
- // SQL statement has an ambiguous operation, or performs more than one operation,
- // this value may be omitted.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBOperation = "db.operation"
-)
-
-const (
- // Some other SQL database. Fallback only. See notes
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOtherSQL = "other_sql"
- // Microsoft SQL Server
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMSSQL = "mssql"
- // MySQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMySQL = "mysql"
- // Oracle Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemOracle = "oracle"
- // IBM DB2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDB2 = "db2"
- // PostgreSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPostgreSQL = "postgresql"
- // Amazon Redshift
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedshift = "redshift"
- // Apache Hive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHive = "hive"
- // Cloudscape
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCloudscape = "cloudscape"
- // HyperSQL DataBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHSQLDB = "hsqldb"
- // Progress Database
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemProgress = "progress"
- // SAP MaxDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMaxDB = "maxdb"
- // SAP HANA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHanaDB = "hanadb"
- // Ingres
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemIngres = "ingres"
- // FirstSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirstSQL = "firstsql"
- // EnterpriseDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemEDB = "edb"
- // InterSystems CachΓ©
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCache = "cache"
- // Adabas (Adaptable Database System)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemAdabas = "adabas"
- // Firebird
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFirebird = "firebird"
- // Apache Derby
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDerby = "derby"
- // FileMaker
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemFilemaker = "filemaker"
- // Informix
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInformix = "informix"
- // InstantDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInstantDB = "instantdb"
- // InterBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemInterbase = "interbase"
- // MariaDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMariaDB = "mariadb"
- // Netezza
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNetezza = "netezza"
- // Pervasive PSQL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPervasive = "pervasive"
- // PointBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemPointbase = "pointbase"
- // SQLite
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSqlite = "sqlite"
- // Sybase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemSybase = "sybase"
- // Teradata
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemTeradata = "teradata"
- // Vertica
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemVertica = "vertica"
- // H2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemH2 = "h2"
- // ColdFusion IMQ
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemColdfusion = "coldfusion"
- // Apache Cassandra
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCassandra = "cassandra"
- // Apache HBase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemHBase = "hbase"
- // MongoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMongoDB = "mongodb"
- // Redis
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemRedis = "redis"
- // Couchbase
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchbase = "couchbase"
- // CouchDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCouchDB = "couchdb"
- // Microsoft Azure Cosmos DB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCosmosDB = "cosmosdb"
- // Amazon DynamoDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemDynamoDB = "dynamodb"
- // Neo4j
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemNeo4j = "neo4j"
- // Apache Geode
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemGeode = "geode"
- // Elasticsearch
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemElasticsearch = "elasticsearch"
- // Memcached
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemMemcached = "memcached"
- // CockroachDB
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSystemCockroachdb = "cockroachdb"
-)
-
-// Connection-level attributes for Microsoft SQL Server
-const (
- // The Microsoft SQL Server instance name connecting to. This name is used to
- // determine the port of a named instance.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MSSQLSERVER'
- // Note: If setting a db.mssql.instance_name, net.peer.port is no longer required
- // (but still recommended if non-standard).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMSSQLInstanceName = "db.mssql.instance_name"
-)
-
-// Call-level attributes for Cassandra
-const (
- // The fetch size used for paging, i.e. how many rows will be returned at once.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5000
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraPageSize = "db.cassandra.page_size"
- // The consistency level of the query. Based on consistency values from CQL.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevel = "db.cassandra.consistency_level"
- // The name of the primary table that the operation is acting upon, including the
- // keyspace name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'mytable'
- // Note: This mirrors the db.sql.table attribute but references cassandra rather
- // than sql. It is not recommended to attempt any client-side parsing of
- // db.statement just to get this property, but it should be set if it is provided
- // by the library being instrumented. If the operation is acting upon an anonymous
- // table, or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraTable = "db.cassandra.table"
- // Whether or not the query is idempotent.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraIdempotence = "db.cassandra.idempotence"
- // The number of times a query was speculatively executed. Not set or 0 if the
- // query was not executed speculatively.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 0, 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraSpeculativeExecutionCount = "db.cassandra.speculative_execution_count"
- // The ID of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'be13faa2-8574-4d71-926d-27f16cf8a7af'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorID = "db.cassandra.coordinator.id"
- // The data center of the coordinating node for a query.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'us-west-2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraCoordinatorDC = "db.cassandra.coordinator.dc"
-)
-
-const (
- // all
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAll = "all"
- // each_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelEachQuorum = "each_quorum"
- // quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelQuorum = "quorum"
- // local_quorum
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalQuorum = "local_quorum"
- // one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelOne = "one"
- // two
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelTwo = "two"
- // three
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelThree = "three"
- // local_one
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalOne = "local_one"
- // any
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelAny = "any"
- // serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelSerial = "serial"
- // local_serial
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBCassandraConsistencyLevelLocalSerial = "local_serial"
-)
-
-// Call-level attributes for Redis
-const (
- // The index of the database being accessed as used in the SELECT command,
- // provided as an integer. To be used instead of the generic db.name attribute.
- //
- // Type: int
- // Required: Required, if other than the default database (`0`).
- // Stability: stable
- // Examples: 0, 1, 15
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBRedisDBIndex = "db.redis.database_index"
-)
-
-// Call-level attributes for MongoDB
-const (
- // The collection being accessed within the database stated in db.name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'customers', 'products'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBMongoDBCollection = "db.mongodb.collection"
-)
-
-// Call-level attributes for SQL databases
-const (
- // The name of the primary table that the operation is acting upon, including the
- // database name (if applicable).
- //
- // Type: string
- // Required: Recommended if available.
- // Stability: stable
- // Examples: 'public.users', 'customers'
- // Note: It is not recommended to attempt any client-side parsing of db.statement
- // just to get this property, but it should be set if it is provided by the
- // library being instrumented. If the operation is acting upon an anonymous table,
- // or more than one table, this value MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeDBSQLTable = "db.sql.table"
-)
-
-// This document defines the attributes used to report a single exception associated with a span.
-const (
- // The type of the exception (its fully-qualified class name, if applicable). The
- // dynamic type of the exception should be preferred over the static type in
- // languages that support it.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'java.net.ConnectException', 'OSError'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionType = "exception.type"
- // The exception message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Division by zero', "Can't convert 'int' object to str implicitly"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionMessage = "exception.message"
- // A stacktrace as a string in the natural representation for the language
- // runtime. The representation is to be determined and documented by each language
- // SIG.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Exception in thread "main" java.lang.RuntimeException: Test
- // exception\\n at '
- // 'com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at '
- // 'com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at '
- // 'com.example.GenerateTrace.main(GenerateTrace.java:5)'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionStacktrace = "exception.stacktrace"
- // SHOULD be set to true if the exception event is recorded at a point where it is
- // known that the exception is escaping the scope of the span.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Note: An exception is considered to have escaped (or left) the scope of a span,
- // if that span is ended while the exception is still logically "in
- // flight".
- // This may be actually "in flight" in some languages (e.g. if the
- // exception
- // is passed to a Context manager's __exit__ method in Python) but will
- // usually be caught at the point of recording the exception in most languages.It
- // is usually not possible to determine at the point where an exception is thrown
- // whether it will escape the scope of a span.
- // However, it is trivial to know that an exception
- // will escape, if one checks for an active exception just before ending the span,
- // as done in the example above.It follows that an exception may still escape the
- // scope of the span
- // even if the exception.escaped attribute was not set or set to false,
- // since the event might have been recorded at a time where it was not
- // clear whether the exception will escape.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeExceptionEscaped = "exception.escaped"
-)
-
-// This semantic convention describes an instance of a function that runs without provisioning or managing of servers (also known as serverless functions or Function as a Service (FaaS)) with spans.
-const (
- // Type of the trigger which caused this function execution.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Note: For the server/consumer span on the incoming side,
- // faas.trigger MUST be set.Clients invoking FaaS instances usually cannot set
- // faas.trigger,
- // since they would typically need to look in the payload to determine
- // the event type. If clients set it, it should be the same as the
- // trigger that corresponding incoming would have (i.e., this has
- // nothing to do with the underlying transport used to make the API
- // call to invoke the lambda, which is often HTTP).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTrigger = "faas.trigger"
- // The execution ID of the current function execution.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'af9d5aa4-a685-4c5f-a22b-444f80b3cc28'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSExecution = "faas.execution"
-)
-
-const (
- // A response to some data source operation such as a database or filesystem read/write
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerDatasource = "datasource"
- // To provide an answer to an inbound HTTP request
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerHTTP = "http"
- // A function is set to be executed when messages are sent to a messaging system
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerPubsub = "pubsub"
- // A function is scheduled to be executed regularly
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerTimer = "timer"
- // If none of the others apply
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTriggerOther = "other"
-)
-
-// Semantic Convention for FaaS triggered as a response to some data source operation such as a database or filesystem read/write.
-const (
- // The name of the source on which the triggering operation was performed. For
- // example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos
- // DB to the database name.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myBucketName', 'myDBName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentCollection = "faas.document.collection"
- // Describes the type of the operation that was performed on the data.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperation = "faas.document.operation"
- // A string containing the time when the data was accessed in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentTime = "faas.document.time"
- // The document name/table subjected to the operation. For example, in Cloud
- // Storage or S3 is the name of the file, and in Cosmos DB the table name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myFile.txt', 'myTableName'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentName = "faas.document.name"
-)
-
-const (
- // When a new object is created
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationInsert = "insert"
- // When an object is modified
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationEdit = "edit"
- // When an object is deleted
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSDocumentOperationDelete = "delete"
-)
-
-// Semantic Convention for FaaS scheduled to be executed regularly.
-const (
- // A string containing the function invocation time in the ISO 8601 format
- // expressed in UTC.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: '2020-01-23T13:47:06Z'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSTime = "faas.time"
- // A string containing the schedule period as Cron Expression.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0/5 * * * ? *'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSCron = "faas.cron"
-)
-
-// Contains additional attributes for incoming FaaS spans.
-const (
- // A boolean that is true if the serverless function is executed for the first
- // time (aka cold-start).
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSColdstart = "faas.coldstart"
-)
-
-// Contains additional attributes for outgoing FaaS spans.
-const (
- // The name of the invoked function.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'my-function'
- // Note: SHOULD be equal to the faas.name resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedName = "faas.invoked_name"
- // The cloud provider of the invoked function.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Note: SHOULD be equal to the cloud.provider resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProvider = "faas.invoked_provider"
- // The cloud region of the invoked function.
- //
- // Type: string
- // Required: For some cloud providers, like AWS or GCP, the region in which a
- // function is hosted is essential to uniquely identify the function and also part
- // of its endpoint. Since it's part of the endpoint being called, the region is
- // always known to clients. In these cases, `faas.invoked_region` MUST be set
- // accordingly. If the region is unknown to the client or not required for
- // identifying the invoked function, setting `faas.invoked_region` is optional.
- // Stability: stable
- // Examples: 'eu-central-1'
- // Note: SHOULD be equal to the cloud.region resource attribute of the invoked
- // function.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedRegion = "faas.invoked_region"
-)
-
-const (
- // Alibaba Cloud
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAlibabaCloud = "alibaba_cloud"
- // Amazon Web Services
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAWS = "aws"
- // Microsoft Azure
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderAzure = "azure"
- // Google Cloud Platform
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderGCP = "gcp"
- // Tencent Cloud
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeFaaSInvokedProviderTencentCloud = "tencent_cloud"
-)
-
-// These attributes may be used for any network related operation.
-const (
- // Transport protocol used. See note below.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransport = "net.transport"
- // Remote address of the peer (dotted decimal for IPv4 or RFC5952 for IPv6)
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '127.0.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerIP = "net.peer.ip"
- // Remote port number.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 80, 8080, 443
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerPort = "net.peer.port"
- // Remote hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetPeerName = "net.peer.name"
- // Like net.peer.ip but for the host IP. Useful in case of a multi-IP host.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '192.168.0.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostIP = "net.host.ip"
- // Like net.peer.port but for the host port.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 35555
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostPort = "net.host.port"
- // Local hostname or similar, see note below.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'localhost'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostName = "net.host.name"
- // The internet connection type currently being used by the host.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Examples: 'wifi'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionType = "net.host.connection.type"
- // This describes more details regarding the connection.type. It may be the type
- // of cell technology connection, but it could be used for describing details
- // about a wifi connection.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Examples: 'LTE'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtype = "net.host.connection.subtype"
- // The name of the mobile carrier.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'sprint'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierName = "net.host.carrier.name"
- // The mobile carrier country code.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '310'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierMcc = "net.host.carrier.mcc"
- // The mobile carrier network code.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '001'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierMnc = "net.host.carrier.mnc"
- // The ISO 3166-1 alpha-2 2-character country code associated with the mobile
- // carrier network.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'DE'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostCarrierIcc = "net.host.carrier.icc"
-)
-
-const (
- // ip_tcp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportTCP = "ip_tcp"
- // ip_udp
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUDP = "ip_udp"
- // Another IP-based protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportIP = "ip"
- // Unix Domain socket. See below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportUnix = "unix"
- // Named or anonymous pipe. See note below
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportPipe = "pipe"
- // In-process communication
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportInProc = "inproc"
- // Something else (non IP-based)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetTransportOther = "other"
-)
-
-const (
- // wifi
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeWifi = "wifi"
- // wired
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeWired = "wired"
- // cell
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeCell = "cell"
- // unavailable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeUnavailable = "unavailable"
- // unknown
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionTypeUnknown = "unknown"
-)
-
-const (
- // GPRS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeGprs = "gprs"
- // EDGE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEdge = "edge"
- // UMTS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeUmts = "umts"
- // CDMA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeCdma = "cdma"
- // EVDO Rel. 0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdo0 = "evdo_0"
- // EVDO Rev. A
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdoA = "evdo_a"
- // CDMA2000 1XRTT
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeCdma20001xrtt = "cdma2000_1xrtt"
- // HSDPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHsdpa = "hsdpa"
- // HSUPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHsupa = "hsupa"
- // HSPA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHspa = "hspa"
- // IDEN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeIden = "iden"
- // EVDO Rev. B
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEvdoB = "evdo_b"
- // LTE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeLte = "lte"
- // EHRPD
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeEhrpd = "ehrpd"
- // HSPAP
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeHspap = "hspap"
- // GSM
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeGsm = "gsm"
- // TD-SCDMA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeTdScdma = "td_scdma"
- // IWLAN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeIwlan = "iwlan"
- // 5G NR (New Radio)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeNr = "nr"
- // 5G NRNSA (New Radio Non-Standalone)
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeNrnsa = "nrnsa"
- // LTE CA
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeNetHostConnectionSubtypeLteCa = "lte_ca"
-)
-
-// Operations that access some remote service.
-const (
- // The service.name of the remote service. SHOULD be equal to the actual
- // service.name resource attribute of the remote service if any.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AuthTokenCache'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributePeerService = "peer.service"
-)
-
-// These attributes may be used for any operation with an authenticated and/or authorized enduser.
-const (
- // Username or client_id extracted from the access token or Authorization header
- // in the inbound request from outside the system.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'username'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserID = "enduser.id"
- // Actual/assumed role the client is making the request under extracted from token
- // or application security context.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'admin'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserRole = "enduser.role"
- // Scopes or granted authorities the client currently possesses extracted from
- // token or application security context. The value would come from the scope
- // associated with an OAuth 2.0 Access Token or an attribute value in a SAML 2.0
- // Assertion.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'read:message, write:files'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeEnduserScope = "enduser.scope"
-)
-
-// These attributes may be used for any operation to store information about a thread that started a span.
-const (
- // Current "managed" thread ID (as opposed to OS thread ID).
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadID = "thread.id"
- // Current thread name.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'main'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeThreadName = "thread.name"
-)
-
-// These attributes allow to report this unit of code and therefore to provide more context about the span.
-const (
- // The method or function name, or equivalent (usually rightmost part of the code
- // unit's name).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'serveRequest'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFunction = "code.function"
- // The "namespace" within which code.function is defined. Usually the
- // qualified class or module name, such that code.namespace + some separator +
- // code.function form a unique identifier for the code unit.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'com.example.MyHTTPService'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeNamespace = "code.namespace"
- // The source code file name that identifies the code unit as uniquely as possible
- // (preferably an absolute file path).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/usr/local/MyApplication/content_root/app/index.php'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeFilepath = "code.filepath"
- // The line number in code.filepath best representing the operation. It SHOULD
- // point within the code unit named in code.function.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 42
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeCodeLineNumber = "code.lineno"
-)
-
-// This document defines semantic conventions for HTTP client and server Spans.
-const (
- // HTTP request method.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'GET', 'POST', 'HEAD'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPMethod = "http.method"
- // Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment].
- // Usually the fragment is not transmitted over HTTP, but if it is known, it
- // should be included nevertheless.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'https://www.foo.bar/search?q=OpenTelemetry#SemConv'
- // Note: http.url MUST NOT contain credentials passed via URL in form of
- // https://username:password@www.example.com/. In such case the attribute's value
- // should be https://www.example.com/.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPURL = "http.url"
- // The full request target as passed in a HTTP request line or equivalent.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/path/12314/?q=ddds#123'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPTarget = "http.target"
- // The value of the HTTP host header. An empty Host header should also be
- // reported, see note.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'www.example.org'
- // Note: When the header is present but empty the attribute SHOULD be set to the
- // empty string. Note that this is a valid situation that is expected in certain
- // cases, according the aforementioned section of RFC 7230. When the header is not
- // set the attribute MUST NOT be set.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPHost = "http.host"
- // The URI scheme identifying the used protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'http', 'https'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPScheme = "http.scheme"
- // HTTP response status code.
- //
- // Type: int
- // Required: If and only if one was received/sent.
- // Stability: stable
- // Examples: 200
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPStatusCode = "http.status_code"
- // Kind of HTTP protocol used.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Note: If net.transport is not specified, it can be assumed to be IP.TCP except
- // if http.flavor is QUIC, in which case IP.UDP is assumed.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavor = "http.flavor"
- // Value of the HTTP User-Agent header sent by the client.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'CERN-LineMode/2.15 libwww/2.17b3'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPUserAgent = "http.user_agent"
- // The size of the request payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLength = "http.request_content_length"
- // The size of the uncompressed request payload body after transport decoding. Not
- // set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRequestContentLengthUncompressed = "http.request_content_length_uncompressed"
- // The size of the response payload body in bytes. This is the number of bytes
- // transferred excluding headers and is often, but not always, present as the
- // Content-Length header. For requests using transport encoding, this should be
- // the compressed size.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 3495
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLength = "http.response_content_length"
- // The size of the uncompressed response payload body after transport decoding.
- // Not set if transport encoding not used.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 5493
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPResponseContentLengthUncompressed = "http.response_content_length_uncompressed"
-)
-
-const (
- // HTTP 1.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP10 = "1.0"
- // HTTP 1.1
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP11 = "1.1"
- // HTTP 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorHTTP20 = "2.0"
- // SPDY protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorSPDY = "SPDY"
- // QUIC protocol
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPFlavorQUIC = "QUIC"
-)
-
-// Semantic Convention for HTTP Server
-const (
- // The primary server name of the matched virtual host. This should be obtained
- // via configuration. If no such configuration can be obtained, this attribute
- // MUST NOT be set ( net.host.name should be used instead).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'example.com'
- // Note: http.url is usually not readily available on the server side but would
- // have to be assembled in a cumbersome and sometimes lossy process from other
- // information (see e.g. open-telemetry/opentelemetry-python/pull/148). It is thus
- // preferred to supply the raw data that is available.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPServerName = "http.server_name"
- // The matched route (path template).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '/users/:userID?'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPRoute = "http.route"
- // The IP address of the original client behind all proxies, if known (e.g. from
- // X-Forwarded-For).
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '83.164.160.102'
- // Note: This is not necessarily the same as net.peer.ip, which would
- // identify the network-level peer, which may be a proxy.This attribute should be
- // set when a source of information different
- // from the one used for net.peer.ip, is available even if that other
- // source just confirms the same value as net.peer.ip.
- // Rationale: For net.peer.ip, one typically does not know if it
- // comes from a proxy, reverse proxy, or the actual client. Setting
- // http.client_ip when it's the same as net.peer.ip means that
- // one is at least somewhat confident that the address is not that of
- // the closest proxy.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeHTTPClientIP = "http.client_ip"
-)
-
-// Attributes that exist for multiple DynamoDB request types.
-const (
- // The keys in the RequestItems object field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'Cats'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableNames = "aws.dynamodb.table_names"
- // The JSON-serialized value of each item in the ConsumedCapacity response field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "CapacityUnits": number, "GlobalSecondaryIndexes": { "string" : {
- // "CapacityUnits": number, "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }, "LocalSecondaryIndexes": { "string" : { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number } },
- // "ReadCapacityUnits": number, "Table": { "CapacityUnits": number,
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number }, "TableName":
- // "string", "WriteCapacityUnits": number }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsumedCapacity = "aws.dynamodb.consumed_capacity"
- // The JSON-serialized value of the ItemCollectionMetrics response field.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '{ "string" : [ { "ItemCollectionKey": { "string" : { "B": blob,
- // "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": { "string" :
- // "AttributeValue" }, "N": "string", "NS": [ "string" ], "NULL": boolean, "S":
- // "string", "SS": [ "string" ] } }, "SizeEstimateRangeGB": [ number ] } ] }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBItemCollectionMetrics = "aws.dynamodb.item_collection_metrics"
- // The value of the ProvisionedThroughput.ReadCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedReadCapacity = "aws.dynamodb.provisioned_read_capacity"
- // The value of the ProvisionedThroughput.WriteCapacityUnits request parameter.
- //
- // Type: double
- // Required: No
- // Stability: stable
- // Examples: 1.0, 2.0
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProvisionedWriteCapacity = "aws.dynamodb.provisioned_write_capacity"
- // The value of the ConsistentRead request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBConsistentRead = "aws.dynamodb.consistent_read"
- // The value of the ProjectionExpression request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Title', 'Title, Price, Color', 'Title, Description, RelatedItems,
- // ProductReviews'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBProjection = "aws.dynamodb.projection"
- // The value of the Limit request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLimit = "aws.dynamodb.limit"
- // The value of the AttributesToGet request parameter.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'lives', 'id'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributesToGet = "aws.dynamodb.attributes_to_get"
- // The value of the IndexName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'name_to_group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBIndexName = "aws.dynamodb.index_name"
- // The value of the Select request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'ALL_ATTRIBUTES', 'COUNT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSelect = "aws.dynamodb.select"
-)
-
-// DynamoDB.CreateTable
-const (
- // The JSON-serialized value of each item of the GlobalSecondaryIndexes request
- // field
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexName": "string", "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" }, "ProvisionedThroughput": { "ReadCapacityUnits":
- // number, "WriteCapacityUnits": number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexes = "aws.dynamodb.global_secondary_indexes"
- // The JSON-serialized value of each item of the LocalSecondaryIndexes request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "IndexARN": "string", "IndexName": "string", "IndexSizeBytes":
- // number, "ItemCount": number, "KeySchema": [ { "AttributeName": "string",
- // "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [ "string" ],
- // "ProjectionType": "string" } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBLocalSecondaryIndexes = "aws.dynamodb.local_secondary_indexes"
-)
-
-// DynamoDB.ListTables
-const (
- // The value of the ExclusiveStartTableName request parameter.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Users', 'CatsTable'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBExclusiveStartTable = "aws.dynamodb.exclusive_start_table"
- // The the number of items in the TableNames response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 20
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTableCount = "aws.dynamodb.table_count"
-)
-
-// DynamoDB.Query
-const (
- // The value of the ScanIndexForward request parameter.
- //
- // Type: boolean
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScanForward = "aws.dynamodb.scan_forward"
-)
-
-// DynamoDB.Scan
-const (
- // The value of the Segment request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBSegment = "aws.dynamodb.segment"
- // The value of the TotalSegments request parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBTotalSegments = "aws.dynamodb.total_segments"
- // The value of the Count response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 10
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBCount = "aws.dynamodb.count"
- // The value of the ScannedCount response parameter.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 50
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBScannedCount = "aws.dynamodb.scanned_count"
-)
-
-// DynamoDB.UpdateTable
-const (
- // The JSON-serialized value of each item in the AttributeDefinitions request
- // field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBAttributeDefinitions = "aws.dynamodb.attribute_definitions"
- // The JSON-serialized value of each item in the the GlobalSecondaryIndexUpdates
- // request field.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: '{ "Create": { "IndexName": "string", "KeySchema": [ {
- // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
- // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" },
- // "ProvisionedThroughput": { "ReadCapacityUnits": number, "WriteCapacityUnits":
- // number } }'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates = "aws.dynamodb.global_secondary_index_updates"
-)
-
-// This document defines the attributes used in messaging systems.
-const (
- // A string identifying the messaging system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'kafka', 'rabbitmq', 'rocketmq', 'activemq', 'AmazonSQS'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingSystem = "messaging.system"
- // The message destination name. This might be equal to the span name but is
- // required nevertheless.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'MyQueue', 'MyTopic'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestination = "messaging.destination"
- // The kind of message destination
- //
- // Type: Enum
- // Required: Required only if the message destination is either a `queue` or
- // `topic`.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKind = "messaging.destination_kind"
- // A boolean that is true if the message destination is temporary.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingTempDestination = "messaging.temp_destination"
- // The name of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'AMQP', 'MQTT'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocol = "messaging.protocol"
- // The version of the transport protocol.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '0.9.1'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingProtocolVersion = "messaging.protocol_version"
- // Connection string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'tibjmsnaming://localhost:7222',
- // 'https://queue.amazonaws.com/80398EXAMPLE/MyQueue'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingURL = "messaging.url"
- // A value used by the messaging system as an identifier for the message,
- // represented as a string.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '452a7c7c7c7048c2f887f61572b18fc2'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessageID = "messaging.message_id"
- // The conversation ID identifying the conversation to which the message belongs,
- // represented as a string. Sometimes called "Correlation ID".
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'MyConversationID'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingConversationID = "messaging.conversation_id"
- // The (uncompressed) size of the message payload in bytes. Also use this
- // attribute if it is unknown whether the compressed or uncompressed payload size
- // is reported.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2738
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadSizeBytes = "messaging.message_payload_size_bytes"
- // The compressed size of the message payload in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2048
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingMessagePayloadCompressedSizeBytes = "messaging.message_payload_compressed_size_bytes"
-)
-
-const (
- // A message sent to a queue
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindQueue = "queue"
- // A message sent to a topic
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingDestinationKindTopic = "topic"
-)
-
-// Semantic convention for a consumer of messages received from a messaging system
-const (
- // A string identifying the kind of message consumption as defined in the
- // Operation names section above. If the operation is "send", this
- // attribute MUST NOT be set, since the operation can be inferred from the span
- // kind in that case.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperation = "messaging.operation"
- // The identifier for the consumer receiving a message. For Kafka, set it to
- // {messaging.kafka.consumer_group} - {messaging.kafka.client_id}, if both are
- // present, or only messaging.kafka.consumer_group. For brokers, such as RabbitMQ
- // and Artemis, set it to the client_id of the client consuming the message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'mygroup - client-6'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingConsumerID = "messaging.consumer_id"
-)
-
-const (
- // receive
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationReceive = "receive"
- // process
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingOperationProcess = "process"
-)
-
-// Attributes for RabbitMQ
-const (
- // RabbitMQ message routing key.
- //
- // Type: string
- // Required: Unless it is empty.
- // Stability: stable
- // Examples: 'myKey'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRabbitmqRoutingKey = "messaging.rabbitmq.routing_key"
-)
-
-// Attributes for Apache Kafka
-const (
- // Message keys in Kafka are used for grouping alike messages to ensure they're
- // processed on the same partition. They differ from messaging.message_id in that
- // they're not unique. If the key is null, the attribute MUST NOT be set.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'myKey'
- // Note: If the key type is not string, it's string representation has to be
- // supplied for the attribute. If the key has no unambiguous, canonical string
- // form, don't include its value.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaMessageKey = "messaging.kafka.message_key"
- // Name of the Kafka Consumer Group that is handling the message. Only applies to
- // consumers, not producers.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'my-group'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaConsumerGroup = "messaging.kafka.consumer_group"
- // Client ID for the Consumer or Producer that is handling the message.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'client-5'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaClientID = "messaging.kafka.client_id"
- // Partition the message is sent to.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Examples: 2
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaPartition = "messaging.kafka.partition"
- // A boolean that is true if the message is a tombstone.
- //
- // Type: boolean
- // Required: If missing, it is assumed to be false.
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingKafkaTombstone = "messaging.kafka.tombstone"
-)
-
-// Attributes for Apache RocketMQ
-const (
- // Namespace of RocketMQ resources, resources in different namespaces are
- // individual.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myNamespace'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqNamespace = "messaging.rocketmq.namespace"
- // Name of the RocketMQ producer/consumer group that is handling the message. The
- // client type is identified by the SpanKind.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myConsumerGroup'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqClientGroup = "messaging.rocketmq.client_group"
- // The unique identifier for each client.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'myhost@8742@s8083jm'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqClientID = "messaging.rocketmq.client_id"
- // Type of message.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageType = "messaging.rocketmq.message_type"
- // The secondary classifier of message besides topic.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'tagA'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTag = "messaging.rocketmq.message_tag"
- // Key(s) of message, another way to mark message besides message id.
- //
- // Type: string[]
- // Required: No
- // Stability: stable
- // Examples: 'keyA', 'keyB'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageKeys = "messaging.rocketmq.message_keys"
- // Model of message consumption. This only applies to consumer spans.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqConsumptionModel = "messaging.rocketmq.consumption_model"
-)
-
-const (
- // Normal message
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTypeNormal = "normal"
- // FIFO message
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTypeFifo = "fifo"
- // Delay message
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTypeDelay = "delay"
- // Transaction message
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqMessageTypeTransaction = "transaction"
-)
-
-const (
- // Clustering consumption model
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqConsumptionModelClustering = "clustering"
- // Broadcasting consumption model
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessagingRocketmqConsumptionModelBroadcasting = "broadcasting"
-)
-
-// This document defines semantic conventions for remote procedure calls.
-const (
- // A string identifying the remoting system.
- //
- // Type: string
- // Required: Always
- // Stability: stable
- // Examples: 'grpc', 'java_rmi', 'wcf'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCSystem = "rpc.system"
- // The full (logical) name of the service being called, including its package
- // name, if applicable.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'myservice.EchoService'
- // Note: This is the logical name of the service from the RPC interface
- // perspective, which can be different from the name of any implementing class.
- // The code.namespace attribute may be used to store the latter (despite the
- // attribute name, it may include a class name; e.g., class with method actually
- // executing the call on the server side, RPC client stub class on the client
- // side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCService = "rpc.service"
- // The name of the (logical) method being called, must be equal to the $method
- // part in the span name.
- //
- // Type: string
- // Required: No, but recommended
- // Stability: stable
- // Examples: 'exampleMethod'
- // Note: This is the logical name of the method from the RPC interface
- // perspective, which can be different from the name of any implementing
- // method/function. The code.function attribute may be used to store the latter
- // (e.g., method actually executing the call on the server side, RPC client stub
- // method on the client side).
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCMethod = "rpc.method"
-)
-
-// Tech-specific attributes for gRPC.
-const (
- // The numeric status code of the gRPC request.
- //
- // Type: Enum
- // Required: Always
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCode = "rpc.grpc.status_code"
-)
-
-const (
- // OK
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOk = "0"
- // CANCELLED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeCancelled = "1"
- // UNKNOWN
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnknown = "2"
- // INVALID_ARGUMENT
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInvalidArgument = "3"
- // DEADLINE_EXCEEDED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDeadlineExceeded = "4"
- // NOT_FOUND
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeNotFound = "5"
- // ALREADY_EXISTS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAlreadyExists = "6"
- // PERMISSION_DENIED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodePermissionDenied = "7"
- // RESOURCE_EXHAUSTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeResourceExhausted = "8"
- // FAILED_PRECONDITION
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeFailedPrecondition = "9"
- // ABORTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeAborted = "10"
- // OUT_OF_RANGE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeOutOfRange = "11"
- // UNIMPLEMENTED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnimplemented = "12"
- // INTERNAL
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeInternal = "13"
- // UNAVAILABLE
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnavailable = "14"
- // DATA_LOSS
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeDataLoss = "15"
- // UNAUTHENTICATED
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCGRPCStatusCodeUnauthenticated = "16"
-)
-
-// Tech-specific attributes for [JSON RPC](https://www.jsonrpc.org/).
-const (
- // Protocol version as in jsonrpc property of request/response. Since JSON-RPC 1.0
- // does not specify this, the value can be omitted.
- //
- // Type: string
- // Required: If missing, it is assumed to be "1.0".
- // Stability: stable
- // Examples: '2.0', '1.0'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcVersion = "rpc.jsonrpc.version"
- // id property of request or response. Since protocol allows id to be int, string,
- // null or missing (for notifications), value is expected to be cast to string for
- // simplicity. Use empty string in case of null value. Omit entirely if this is a
- // notification.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: '10', 'request-7', ''
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcRequestID = "rpc.jsonrpc.request_id"
- // error.code property of response if it is an error response.
- //
- // Type: int
- // Required: If missing, response is assumed to be successful.
- // Stability: stable
- // Examples: -32700, 100
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorCode = "rpc.jsonrpc.error_code"
- // error.message property of response if it is an error response.
- //
- // Type: string
- // Required: No
- // Stability: stable
- // Examples: 'Parse error', 'User already exists'
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeRPCJsonrpcErrorMessage = "rpc.jsonrpc.error_message"
-)
-
-// RPC received/sent message.
-const (
- // Whether this is a received or sent message.
- //
- // Type: Enum
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageType = "message.type"
- // MUST be calculated as two different counters starting from 1 one for sent
- // messages and one for received message.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Note: This way we guarantee that the values will be consistent between
- // different implementations.
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageID = "message.id"
- // Compressed size of the message in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageCompressedSize = "message.compressed_size"
- // Uncompressed size of the message in bytes.
- //
- // Type: int
- // Required: No
- // Stability: stable
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageUncompressedSize = "message.uncompressed_size"
-)
-
-const (
- // sent
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageTypeSent = "SENT"
- // received
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- AttributeMessageTypeReceived = "RECEIVED"
-)
-
-// Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
-func GetTraceSemanticConventionAttributeNames() []string {
- return []string{
- AttributeAWSLambdaInvokedARN,
- AttributeOpentracingRefType,
- AttributeDBSystem,
- AttributeDBConnectionString,
- AttributeDBUser,
- AttributeDBJDBCDriverClassname,
- AttributeDBName,
- AttributeDBStatement,
- AttributeDBOperation,
- AttributeDBMSSQLInstanceName,
- AttributeDBCassandraPageSize,
- AttributeDBCassandraConsistencyLevel,
- AttributeDBCassandraTable,
- AttributeDBCassandraIdempotence,
- AttributeDBCassandraSpeculativeExecutionCount,
- AttributeDBCassandraCoordinatorID,
- AttributeDBCassandraCoordinatorDC,
- AttributeDBRedisDBIndex,
- AttributeDBMongoDBCollection,
- AttributeDBSQLTable,
- AttributeExceptionType,
- AttributeExceptionMessage,
- AttributeExceptionStacktrace,
- AttributeExceptionEscaped,
- AttributeFaaSTrigger,
- AttributeFaaSExecution,
- AttributeFaaSDocumentCollection,
- AttributeFaaSDocumentOperation,
- AttributeFaaSDocumentTime,
- AttributeFaaSDocumentName,
- AttributeFaaSTime,
- AttributeFaaSCron,
- AttributeFaaSColdstart,
- AttributeFaaSInvokedName,
- AttributeFaaSInvokedProvider,
- AttributeFaaSInvokedRegion,
- AttributeNetTransport,
- AttributeNetPeerIP,
- AttributeNetPeerPort,
- AttributeNetPeerName,
- AttributeNetHostIP,
- AttributeNetHostPort,
- AttributeNetHostName,
- AttributeNetHostConnectionType,
- AttributeNetHostConnectionSubtype,
- AttributeNetHostCarrierName,
- AttributeNetHostCarrierMcc,
- AttributeNetHostCarrierMnc,
- AttributeNetHostCarrierIcc,
- AttributePeerService,
- AttributeEnduserID,
- AttributeEnduserRole,
- AttributeEnduserScope,
- AttributeThreadID,
- AttributeThreadName,
- AttributeCodeFunction,
- AttributeCodeNamespace,
- AttributeCodeFilepath,
- AttributeCodeLineNumber,
- AttributeHTTPMethod,
- AttributeHTTPURL,
- AttributeHTTPTarget,
- AttributeHTTPHost,
- AttributeHTTPScheme,
- AttributeHTTPStatusCode,
- AttributeHTTPFlavor,
- AttributeHTTPUserAgent,
- AttributeHTTPRequestContentLength,
- AttributeHTTPRequestContentLengthUncompressed,
- AttributeHTTPResponseContentLength,
- AttributeHTTPResponseContentLengthUncompressed,
- AttributeHTTPServerName,
- AttributeHTTPRoute,
- AttributeHTTPClientIP,
- AttributeAWSDynamoDBTableNames,
- AttributeAWSDynamoDBConsumedCapacity,
- AttributeAWSDynamoDBItemCollectionMetrics,
- AttributeAWSDynamoDBProvisionedReadCapacity,
- AttributeAWSDynamoDBProvisionedWriteCapacity,
- AttributeAWSDynamoDBConsistentRead,
- AttributeAWSDynamoDBProjection,
- AttributeAWSDynamoDBLimit,
- AttributeAWSDynamoDBAttributesToGet,
- AttributeAWSDynamoDBIndexName,
- AttributeAWSDynamoDBSelect,
- AttributeAWSDynamoDBGlobalSecondaryIndexes,
- AttributeAWSDynamoDBLocalSecondaryIndexes,
- AttributeAWSDynamoDBExclusiveStartTable,
- AttributeAWSDynamoDBTableCount,
- AttributeAWSDynamoDBScanForward,
- AttributeAWSDynamoDBSegment,
- AttributeAWSDynamoDBTotalSegments,
- AttributeAWSDynamoDBCount,
- AttributeAWSDynamoDBScannedCount,
- AttributeAWSDynamoDBAttributeDefinitions,
- AttributeAWSDynamoDBGlobalSecondaryIndexUpdates,
- AttributeMessagingSystem,
- AttributeMessagingDestination,
- AttributeMessagingDestinationKind,
- AttributeMessagingTempDestination,
- AttributeMessagingProtocol,
- AttributeMessagingProtocolVersion,
- AttributeMessagingURL,
- AttributeMessagingMessageID,
- AttributeMessagingConversationID,
- AttributeMessagingMessagePayloadSizeBytes,
- AttributeMessagingMessagePayloadCompressedSizeBytes,
- AttributeMessagingOperation,
- AttributeMessagingConsumerID,
- AttributeMessagingRabbitmqRoutingKey,
- AttributeMessagingKafkaMessageKey,
- AttributeMessagingKafkaConsumerGroup,
- AttributeMessagingKafkaClientID,
- AttributeMessagingKafkaPartition,
- AttributeMessagingKafkaTombstone,
- AttributeMessagingRocketmqNamespace,
- AttributeMessagingRocketmqClientGroup,
- AttributeMessagingRocketmqClientID,
- AttributeMessagingRocketmqMessageType,
- AttributeMessagingRocketmqMessageTag,
- AttributeMessagingRocketmqMessageKeys,
- AttributeMessagingRocketmqConsumptionModel,
- AttributeRPCSystem,
- AttributeRPCService,
- AttributeRPCMethod,
- AttributeRPCGRPCStatusCode,
- AttributeRPCJsonrpcVersion,
- AttributeRPCJsonrpcRequestID,
- AttributeRPCJsonrpcErrorCode,
- AttributeRPCJsonrpcErrorMessage,
- AttributeMessageType,
- AttributeMessageID,
- AttributeMessageCompressedSize,
- AttributeMessageUncompressedSize,
- }
-}
diff --git a/model/semconv/v1.9.0/nonstandard.go b/model/semconv/v1.9.0/nonstandard.go
deleted file mode 100644
index 2958af1bf41..00000000000
--- a/model/semconv/v1.9.0/nonstandard.go
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.9.0"
-
-const (
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelLibraryName = "otel.library.name"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelLibraryVersion = "otel.library.version"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusCode = "otel.status_code"
- // Deprecated: [v0.50.0] Use go.opentelemetry.io/collector/semconv module.
- OtelStatusDescription = "otel.status_description"
-)
diff --git a/model/semconv/v1.9.0/schema.go b/model/semconv/v1.9.0/schema.go
deleted file mode 100644
index 5592dc08c43..00000000000
--- a/model/semconv/v1.9.0/schema.go
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// 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.
-
-package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.9.0"
-
-// SchemaURL is the schema URL that matches the version of the semantic conventions
-// that this package defines. Conventions packages starting from v1.4.0 must declare
-// non-empty schema URL in the form https://opentelemetry.io/schemas/