Skip to content

Commit

Permalink
Reference spec date
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Rzeszutek committed Dec 1, 2020
1 parent 1316e20 commit 8770884
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,12 @@ public final class SemanticAttributes {
*/
public static final AttributeKey<String> ENDUSER_SCOPE = stringKey("enduser.scope");

/** Current &#34;managed&#34; thread ID (as opposed to OS thread ID). */
public static final AttributeKey<Long> THREAD_ID = longKey("thread.id");

/** Current thread name. */
public static final AttributeKey<String> THREAD_NAME = stringKey("thread.name");

/**
* The method or function name, or equivalent (usually rightmost part of the code unit&#39;s
* name).
Expand Down
4 changes: 2 additions & 2 deletions buildscripts/semantic-convention/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROOT_DIR="${SCRIPT_DIR}/../../"
# freeze the spec version to make SemanticAttributes generation reproducible
# this hash was obtained by calling `git rev-parse master`
# this hash was obtained by calling `git rev-parse master` on 1st Dec 2020
# we can't use a version tag here because otel-spec releases are very rare
SPEC_VERSION=d328331ce9dc6dec871b647b4e37a84b5396516e
SPEC_VERSION=181a1afdb201f1334fb032960bb1672cf5a0272f

cd ${SCRIPT_DIR}

Expand Down

0 comments on commit 8770884

Please sign in to comment.