Skip to content

Commit 1cf3e76

Browse files
committed
feat: Bump semantic conventions to version 1.37.0
1 parent 7047f09 commit 1cf3e76

File tree

29 files changed

+1399
-213
lines changed

29 files changed

+1399
-213
lines changed

semantic_conventions/.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ inherit_from: ../contrib/rubocop.yml
22

33
AllCops:
44
NewCops: enable
5+
Exclude:
6+
- 'tmp/semconvrepo/**/*'
57

68
Bundler/OrderedGems:
79
Exclude:

semantic_conventions/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ task default: default_tasks
5050
desc 'update semantic conventions'
5151
task generate: %i[update_gem_version generate_semconv generate_require_rollups rubocop_autocorrect]
5252

53-
SPEC_VERSION = '1.36.0'
53+
SPEC_VERSION = '1.37.0'
5454
OTEL_WEAVER_VERSION = 'v0.17.1'
5555
semconv_source_dir = Pathname.new('./tmp/semconvrepo')
5656
semconv_output_dir = Pathname.new('./lib/opentelemetry/semconv')

semantic_conventions/lib/opentelemetry/semantic_conventions/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
module OpenTelemetry
88
module SemanticConventions
9-
VERSION = '1.36.0'
9+
VERSION = '1.37.0'
1010
end
1111
end

semantic_conventions/lib/opentelemetry/semconv/aspnetcore/attributes.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module SemConv
2323
module ASPNETCORE
2424
# @!group Attribute Names
2525

26-
# ASP.NET Core exception middleware handling result
26+
# ASP.NET Core exception middleware handling result.
2727
#
2828
# @note Stability Level: stable
2929
#
@@ -91,6 +91,15 @@ module ASPNETCORE
9191
#
9292
ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status'
9393

94+
# A value that indicates whether the user is authenticated.
95+
#
96+
# @note Stability Level: stable
97+
#
98+
# @example Sample Values
99+
# true
100+
#
101+
ASPNETCORE_USER_IS_AUTHENTICATED = 'aspnetcore.user.is_authenticated'
102+
94103
# @!endgroup
95104
end
96105
end

semantic_conventions/lib/opentelemetry/semconv/incubating/android/attributes.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module ANDROID
3535
#
3636
ANDROID_APP_STATE = 'android.app.state'
3737

38-
# Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels).
38+
# Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found in the [Android API levels documentation](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels).
3939
#
4040
# @note Stability Level: development
4141
#
@@ -45,10 +45,10 @@ module ANDROID
4545
#
4646
ANDROID_OS_API_LEVEL = 'android.os.api_level'
4747

48-
# Deprecated. Use `android.app.state` body field instead.
48+
# Deprecated. Use `android.app.state` attribute instead.
4949
#
5050
# @note Stability Level: development
51-
# @deprecated {"note": "Use `android.app.state` body field instead.", "reason": "uncategorized"}
51+
# @deprecated {"note": "Replaced by `android.app.state`.", "reason": "renamed", "renamed_to": "android.app.state"}
5252
ANDROID_STATE = 'android.state'
5353

5454
# @!endgroup

semantic_conventions/lib/opentelemetry/semconv/incubating/app/attributes.rb

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ module Incubating
2424
module APP
2525
# @!group Attribute Names
2626

27+
# Unique identifier for a particular build or compilation of the application.
28+
#
29+
# @note Stability Level: development
30+
#
31+
# @example Sample Values
32+
# 6cff0a7e-cefc-4668-96f5-1273d8b334d0
33+
# 9f2b833506aa6973a92fde9733e6271f
34+
# my-app-1.0.0-code-123
35+
#
36+
APP_BUILD_ID = 'app.build_id'
37+
2738
# A unique identifier representing the installation of an application on a specific device
2839
#
2940
# Its value SHOULD persist across launches of the same application installation, including through application upgrades.
@@ -42,7 +53,7 @@ module APP
4253
# - [App set ID](https://developer.android.com/identity/app-set-id).
4354
# - [`Settings.getString(Settings.Secure.ANDROID_ID)`](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID).
4455
#
45-
# More information about Android identifier best practices can be found [here](https://developer.android.com/training/articles/user-data-ids).
56+
# More information about Android identifier best practices can be found in the [Android user data IDs guide](https://developer.android.com/training/articles/user-data-ids).
4657
#
4758
# @note Stability Level: development
4859
#
@@ -51,6 +62,40 @@ module APP
5162
#
5263
APP_INSTALLATION_ID = 'app.installation.id'
5364

65+
# A number of frame renders that experienced jank.
66+
#
67+
# Depending on platform limitations, the value provided MAY be approximation.
68+
#
69+
# @note Stability Level: development
70+
#
71+
# @example Sample Values
72+
# 9
73+
# 42
74+
#
75+
APP_JANK_FRAME_COUNT = 'app.jank.frame_count'
76+
77+
# The time period, in seconds, for which this jank is being reported.
78+
#
79+
# @note Stability Level: development
80+
#
81+
# @example Sample Values
82+
# 1.0
83+
# 5.0
84+
# 10.24
85+
#
86+
APP_JANK_PERIOD = 'app.jank.period'
87+
88+
# The minimum rendering threshold for this jank, in seconds.
89+
#
90+
# @note Stability Level: development
91+
#
92+
# @example Sample Values
93+
# 0.016
94+
# 0.7
95+
# 1.024
96+
#
97+
APP_JANK_THRESHOLD = 'app.jank.threshold'
98+
5499
# The x (horizontal) coordinate of a screen coordinate, in screen pixels.
55100
#
56101
# @note Stability Level: development

semantic_conventions/lib/opentelemetry/semconv/incubating/aspnetcore/attributes.rb

Lines changed: 157 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,47 @@ module Incubating
2424
module ASPNETCORE
2525
# @!group Attribute Names
2626

27-
# ASP.NET Core exception middleware handling result
27+
# The result of the authentication operation.
28+
#
29+
# @note Stability Level: development
30+
#
31+
# @example Sample Values
32+
# success
33+
# failure
34+
#
35+
ASPNETCORE_AUTHENTICATION_RESULT = 'aspnetcore.authentication.result'
36+
37+
# The identifier that names a particular authentication handler.
38+
#
39+
# @note Stability Level: development
40+
#
41+
# @example Sample Values
42+
# Cookies
43+
# Bearer
44+
# Identity.Application
45+
#
46+
ASPNETCORE_AUTHENTICATION_SCHEME = 'aspnetcore.authentication.scheme'
47+
48+
# The name of the authorization policy.
49+
#
50+
# @note Stability Level: development
51+
#
52+
# @example Sample Values
53+
# RequireAdminRole
54+
#
55+
ASPNETCORE_AUTHORIZATION_POLICY = 'aspnetcore.authorization.policy'
56+
57+
# The result of calling the authorization service.
58+
#
59+
# @note Stability Level: development
60+
#
61+
# @example Sample Values
62+
# success
63+
# failure
64+
#
65+
ASPNETCORE_AUTHORIZATION_RESULT = 'aspnetcore.authorization.result'
66+
67+
# ASP.NET Core exception middleware handling result.
2868
#
2969
# @note Stability Level: stable
3070
#
@@ -47,6 +87,106 @@ module ASPNETCORE
4787
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::ASPNETCORE::ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE}.
4888
ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = 'aspnetcore.diagnostics.handler.type'
4989

90+
# The error code for a failed identity operation.
91+
#
92+
# @note Stability Level: development
93+
#
94+
# @example Sample Values
95+
# DefaultError
96+
# PasswordMismatch
97+
#
98+
ASPNETCORE_IDENTITY_ERROR_CODE = 'aspnetcore.identity.error_code'
99+
100+
# The result from checking the password.
101+
#
102+
# @note Stability Level: development
103+
#
104+
# @example Sample Values
105+
# success
106+
# failure
107+
#
108+
ASPNETCORE_IDENTITY_PASSWORD_CHECK_RESULT = 'aspnetcore.identity.password_check_result'
109+
110+
# The result of the identity operation.
111+
#
112+
# @note Stability Level: development
113+
#
114+
# @example Sample Values
115+
# success
116+
# failure
117+
#
118+
ASPNETCORE_IDENTITY_RESULT = 'aspnetcore.identity.result'
119+
120+
# Whether the sign in result was success or failure.
121+
#
122+
# @note Stability Level: development
123+
#
124+
# @example Sample Values
125+
# password
126+
# two_factor
127+
#
128+
ASPNETCORE_IDENTITY_SIGN_IN_RESULT = 'aspnetcore.identity.sign_in.result'
129+
130+
# The authentication type.
131+
#
132+
# @note Stability Level: development
133+
#
134+
# @example Sample Values
135+
# password
136+
# two_factor
137+
#
138+
ASPNETCORE_IDENTITY_SIGN_IN_TYPE = 'aspnetcore.identity.sign_in.type'
139+
140+
# What the token will be used for.
141+
#
142+
# @note Stability Level: development
143+
#
144+
# @example Sample Values
145+
# success
146+
# failure
147+
#
148+
ASPNETCORE_IDENTITY_TOKEN_PURPOSE = 'aspnetcore.identity.token_purpose'
149+
150+
# The result of token verification.
151+
#
152+
# @note Stability Level: development
153+
#
154+
# @example Sample Values
155+
# success
156+
# failure
157+
#
158+
ASPNETCORE_IDENTITY_TOKEN_VERIFIED = 'aspnetcore.identity.token_verified'
159+
160+
# The user update type.
161+
#
162+
# @note Stability Level: development
163+
#
164+
# @example Sample Values
165+
# update
166+
# user_name
167+
# reset_password
168+
#
169+
ASPNETCORE_IDENTITY_USER_UPDATE_TYPE = 'aspnetcore.identity.user.update_type'
170+
171+
# The full name of the identity user type.
172+
#
173+
# @note Stability Level: development
174+
#
175+
# @example Sample Values
176+
# Contoso.ContosoUser
177+
#
178+
ASPNETCORE_IDENTITY_USER_TYPE = 'aspnetcore.identity.user_type'
179+
180+
# The name of the library or subsystem using the memory pool instance.
181+
#
182+
# @note Stability Level: development
183+
#
184+
# @example Sample Values
185+
# kestrel
186+
# iis
187+
#
188+
ASPNETCORE_MEMORY_POOL_OWNER = 'aspnetcore.memory_pool.owner'
189+
50190
# Rate limiting policy name.
51191
#
52192
# @note Stability Level: stable
@@ -106,6 +246,22 @@ module ASPNETCORE
106246
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::ASPNETCORE::ASPNETCORE_ROUTING_MATCH_STATUS}.
107247
ASPNETCORE_ROUTING_MATCH_STATUS = 'aspnetcore.routing.match_status'
108248

249+
# A flag indicating whether the sign in is persistent.
250+
#
251+
# @note Stability Level: development
252+
ASPNETCORE_SIGN_IN_IS_PERSISTENT = 'aspnetcore.sign_in.is_persistent'
253+
254+
# A value that indicates whether the user is authenticated.
255+
#
256+
# @note Stability Level: stable
257+
#
258+
# @example Sample Values
259+
# true
260+
#
261+
#
262+
# @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::ASPNETCORE::ASPNETCORE_USER_IS_AUTHENTICATED}.
263+
ASPNETCORE_USER_IS_AUTHENTICATED = 'aspnetcore.user.is_authenticated'
264+
109265
# @!endgroup
110266
end
111267
end

0 commit comments

Comments
 (0)