-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump to semantic-conventions v1.30.0 #141
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
...cubating/src/main/java/io/opentelemetry/semconv/incubating/AzureIncubatingAttributes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.semconv.incubating; | ||
|
||
import static io.opentelemetry.api.common.AttributeKey.doubleKey; | ||
import static io.opentelemetry.api.common.AttributeKey.longKey; | ||
import static io.opentelemetry.api.common.AttributeKey.stringArrayKey; | ||
import static io.opentelemetry.api.common.AttributeKey.stringKey; | ||
|
||
import io.opentelemetry.api.common.AttributeKey; | ||
import java.util.List; | ||
|
||
// DO NOT EDIT, this is an Auto-generated file from | ||
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 | ||
@SuppressWarnings("unused") | ||
public final class AzureIncubatingAttributes { | ||
/** The unique identifier of the client instance. */ | ||
public static final AttributeKey<String> AZURE_CLIENT_ID = stringKey("azure.client.id"); | ||
|
||
/** Cosmos client connection mode. */ | ||
public static final AttributeKey<String> AZURE_COSMOSDB_CONNECTION_MODE = | ||
stringKey("azure.cosmosdb.connection.mode"); | ||
|
||
/** | ||
* Account or request <a | ||
* href="https://learn.microsoft.com/azure/cosmos-db/consistency-levels">consistency level</a>. | ||
*/ | ||
public static final AttributeKey<String> AZURE_COSMOSDB_CONSISTENCY_LEVEL = | ||
stringKey("azure.cosmosdb.consistency.level"); | ||
|
||
/** | ||
* List of regions contacted during operation in the order that they were contacted. If there is | ||
* more than one region listed, it indicates that the operation was performed on multiple regions | ||
* i.e. cross-regional call. | ||
* | ||
* <p>Notes: | ||
* | ||
* <p>Region name matches the format of {@code displayName} in <a | ||
* href="https://learn.microsoft.com/rest/api/subscription/subscriptions/list-locations?view=rest-subscription-2021-10-01&tabs=HTTP#location">Azure | ||
* Location API</a> | ||
*/ | ||
public static final AttributeKey<List<String>> AZURE_COSMOSDB_OPERATION_CONTACTED_REGIONS = | ||
stringArrayKey("azure.cosmosdb.operation.contacted_regions"); | ||
|
||
/** The number of request units consumed by the operation. */ | ||
public static final AttributeKey<Double> AZURE_COSMOSDB_OPERATION_REQUEST_CHARGE = | ||
doubleKey("azure.cosmosdb.operation.request_charge"); | ||
|
||
/** Request payload size in bytes. */ | ||
public static final AttributeKey<Long> AZURE_COSMOSDB_REQUEST_BODY_SIZE = | ||
longKey("azure.cosmosdb.request.body.size"); | ||
|
||
/** Cosmos DB sub status code. */ | ||
public static final AttributeKey<Long> AZURE_COSMOSDB_RESPONSE_SUB_STATUS_CODE = | ||
longKey("azure.cosmosdb.response.sub_status_code"); | ||
|
||
// Enum definitions | ||
/** Values for {@link #AZURE_COSMOSDB_CONNECTION_MODE}. */ | ||
public static final class AzureCosmosdbConnectionModeIncubatingValues { | ||
/** Gateway (HTTP) connection. */ | ||
public static final String GATEWAY = "gateway"; | ||
|
||
/** Direct connection. */ | ||
public static final String DIRECT = "direct"; | ||
|
||
private AzureCosmosdbConnectionModeIncubatingValues() {} | ||
} | ||
|
||
/** Values for {@link #AZURE_COSMOSDB_CONSISTENCY_LEVEL}. */ | ||
public static final class AzureCosmosdbConsistencyLevelIncubatingValues { | ||
/** strong. */ | ||
public static final String STRONG = "Strong"; | ||
|
||
/** bounded_staleness. */ | ||
public static final String BOUNDED_STALENESS = "BoundedStaleness"; | ||
|
||
/** session. */ | ||
public static final String SESSION = "Session"; | ||
|
||
/** eventual. */ | ||
public static final String EVENTUAL = "Eventual"; | ||
|
||
/** consistent_prefix. */ | ||
public static final String CONSISTENT_PREFIX = "ConsistentPrefix"; | ||
|
||
private AzureCosmosdbConsistencyLevelIncubatingValues() {} | ||
} | ||
|
||
private AzureIncubatingAttributes() {} | ||
} |
87 changes: 87 additions & 0 deletions
87
...ting/src/main/java/io/opentelemetry/semconv/incubating/CassandraIncubatingAttributes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package io.opentelemetry.semconv.incubating; | ||
|
||
import static io.opentelemetry.api.common.AttributeKey.booleanKey; | ||
import static io.opentelemetry.api.common.AttributeKey.longKey; | ||
import static io.opentelemetry.api.common.AttributeKey.stringKey; | ||
|
||
import io.opentelemetry.api.common.AttributeKey; | ||
|
||
// DO NOT EDIT, this is an Auto-generated file from | ||
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 | ||
@SuppressWarnings("unused") | ||
public final class CassandraIncubatingAttributes { | ||
/** | ||
* The consistency level of the query. Based on consistency values from <a | ||
* href="https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html">CQL</a>. | ||
*/ | ||
public static final AttributeKey<String> CASSANDRA_CONSISTENCY_LEVEL = | ||
stringKey("cassandra.consistency.level"); | ||
|
||
/** The data center of the coordinating node for a query. */ | ||
public static final AttributeKey<String> CASSANDRA_COORDINATOR_DC = | ||
stringKey("cassandra.coordinator.dc"); | ||
|
||
/** The ID of the coordinating node for a query. */ | ||
public static final AttributeKey<String> CASSANDRA_COORDINATOR_ID = | ||
stringKey("cassandra.coordinator.id"); | ||
|
||
/** The fetch size used for paging, i.e. how many rows will be returned at once. */ | ||
public static final AttributeKey<Long> CASSANDRA_PAGE_SIZE = longKey("cassandra.page.size"); | ||
|
||
/** Whether or not the query is idempotent. */ | ||
public static final AttributeKey<Boolean> CASSANDRA_QUERY_IDEMPOTENT = | ||
booleanKey("cassandra.query.idempotent"); | ||
|
||
/** | ||
* The number of times a query was speculatively executed. Not set or {@code 0} if the query was | ||
* not executed speculatively. | ||
*/ | ||
public static final AttributeKey<Long> CASSANDRA_SPECULATIVE_EXECUTION_COUNT = | ||
longKey("cassandra.speculative_execution.count"); | ||
|
||
// Enum definitions | ||
/** Values for {@link #CASSANDRA_CONSISTENCY_LEVEL}. */ | ||
public static final class CassandraConsistencyLevelIncubatingValues { | ||
/** all. */ | ||
public static final String ALL = "all"; | ||
|
||
/** each_quorum. */ | ||
public static final String EACH_QUORUM = "each_quorum"; | ||
|
||
/** quorum. */ | ||
public static final String QUORUM = "quorum"; | ||
|
||
/** local_quorum. */ | ||
public static final String LOCAL_QUORUM = "local_quorum"; | ||
|
||
/** one. */ | ||
public static final String ONE = "one"; | ||
|
||
/** two. */ | ||
public static final String TWO = "two"; | ||
|
||
/** three. */ | ||
public static final String THREE = "three"; | ||
|
||
/** local_one. */ | ||
public static final String LOCAL_ONE = "local_one"; | ||
|
||
/** any. */ | ||
public static final String ANY = "any"; | ||
|
||
/** serial. */ | ||
public static final String SERIAL = "serial"; | ||
|
||
/** local_serial. */ | ||
public static final String LOCAL_SERIAL = "local_serial"; | ||
|
||
private CassandraConsistencyLevelIncubatingValues() {} | ||
} | ||
|
||
private CassandraIncubatingAttributes() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heads up - excluding
dotnet.
attributes as a continuation of #48