Skip to content

Commit

Permalink
Regenerate code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Aug 21, 2024
1 parent 0f7cf02 commit 580363b
Show file tree
Hide file tree
Showing 21 changed files with 170 additions and 440 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import io.opentelemetry.api.common.AttributeKey;

// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/SemanticAttributes.java.j2
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class ArtifactIncubatingAttributes {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import io.opentelemetry.api.common.AttributeKey;

// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/SemanticAttributes.java.j2
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class AzIncubatingAttributes {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import io.opentelemetry.api.common.AttributeKey;

// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/SemanticAttributes.java.j2
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class CicdIncubatingAttributes {

Expand Down Expand Up @@ -46,13 +46,14 @@ public final class CicdIncubatingAttributes {
// Enum definitions
/** Values for {@link #CICD_PIPELINE_TASK_TYPE}. */
public static final class CicdPipelineTaskTypeValues {
/** build. */

/** build */
public static final String BUILD = "build";

/** test. */
/** test */
public static final String TEST = "test";

/** deploy. */
/** deploy */
public static final String DEPLOY = "deploy";

private CicdPipelineTaskTypeValues() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,24 +73,28 @@ public final class CloudIncubatingAttributes {
*
* <ul>
* <li>On some cloud providers, it may not be possible to determine the full ID at startup, so
* it may be necessary to set `cloud.resource_id` as a span attribute instead.
* <p>The exact value to use for `cloud.resource_id` depends on the cloud provider. The
* following well-known definitions MUST be used if you set this attribute and they apply:
* <li><strong>AWS Lambda:</strong> The function <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>.
* Take care not to use the &quot;invoked ARN&quot; directly but replace any <a
* href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias
* suffix</a> with the resolved function version, as the same runtime instance may be
* invocable with multiple different aliases.
* <li><strong>GCP:</strong> The <a
* href="https://cloud.google.com/iam/docs/full-resource-names">URI of the resource</a>
* <li><strong>Azure:</strong> The <a
* href="https://docs.microsoft.com/rest/api/resources/resources/get-by-id">Fully Qualified
* Resource ID</a> of the invoked function, <em>not</em> the function app, having the form
* {@code
* /subscriptions/<SUBSCIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>}.
* This means that a span attribute MUST be used, as an Azure function app can host multiple
* functions that would usually share a TracerProvider.
* it may be necessary to set <code>cloud.resource_id</code> as a span attribute instead.
* The exact value to use for <code>cloud.resource_id</code> depends on the cloud provider.
* The following well-known definitions MUST be used if you set this attribute and they
* apply:
* <ul>
* <li><strong>AWS Lambda:</strong> The function <a
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a>.
* Take care not to use the &quot;invoked ARN&quot; directly but replace any <a
* href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias
* suffix</a> with the resolved function version, as the same runtime instance may be
* invocable with multiple different aliases.
* <li><strong>GCP:</strong> The <a
* href="https://cloud.google.com/iam/docs/full-resource-names">URI of the
* resource</a>
* <li><strong>Azure:</strong> The <a
* href="https://docs.microsoft.com/rest/api/resources/resources/get-by-id">Fully
* Qualified Resource ID</a> of the invoked function, <em>not</em> the function app,
* having the form <code>
* /subscriptions/&lt;SUBSCIPTION_GUID&gt;/resourceGroups/&lt;RG&gt;/providers/Microsoft.Web/sites/&lt;FUNCAPP&gt;/functions/&lt;FUNC&gt;
* </code>. This means that a span attribute MUST be used, as an Azure function app
* can host multiple functions that would usually share a TracerProvider.
* </ul>
* </ul>
*/
public static final AttributeKey<String> CLOUD_RESOURCE_ID = stringKey("cloud.resource_id");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ public final class ContainerIncubatingAttributes {
public static final AttributeKey<String> CONTAINER_COMMAND_LINE =
stringKey("container.command_line");

/**
* Deprecated, use {@code cpu.mode} instead.
*
* @deprecated Deprecated, use `cpu.mode` instead.
*/
@Deprecated
public static final AttributeKey<String> CONTAINER_CPU_STATE = stringKey("container.cpu.state");

/**
* Container ID. Usually a UUID, as for example used to <a
* href="https://docs.docker.com/engine/reference/run/#container-identification">identify Docker
Expand Down Expand Up @@ -114,32 +106,5 @@ public final class ContainerIncubatingAttributes {
/** The container runtime managing this container. */
public static final AttributeKey<String> CONTAINER_RUNTIME = stringKey("container.runtime");

// Enum definitions
/**
* Values for {@link #CONTAINER_CPU_STATE}.
*
* @deprecated Deprecated, use `cpu.mode` instead.
*/
@Deprecated
public static final class ContainerCpuStateValues {

/**
* When tasks of the cgroup are in user mode (Linux). When all container processes are in user
* mode (Windows).
*/
public static final String USER = "user";

/** When CPU is used by the system (host OS) */
public static final String SYSTEM = "system";

/**
* When tasks of the cgroup are in kernel mode (Linux). When all container processes are in
* kernel mode (Windows).
*/
public static final String KERNEL = "kernel";

private ContainerCpuStateValues() {}
}

private ContainerIncubatingAttributes() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import io.opentelemetry.api.common.AttributeKey;

// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/SemanticAttributes.java.j2
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class CpuIncubatingAttributes {

Expand All @@ -20,28 +20,29 @@ public final class CpuIncubatingAttributes {
// Enum definitions
/** Values for {@link #CPU_MODE}. */
public static final class CpuModeValues {
/** user. */

/** user */
public static final String USER = "user";

/** system. */
/** system */
public static final String SYSTEM = "system";

/** nice. */
/** nice */
public static final String NICE = "nice";

/** idle. */
/** idle */
public static final String IDLE = "idle";

/** iowait. */
/** iowait */
public static final String IOWAIT = "iowait";

/** interrupt. */
/** interrupt */
public static final String INTERRUPT = "interrupt";

/** steal. */
/** steal */
public static final String STEAL = "steal";

/** kernel. */
/** kernel */
public static final String KERNEL = "kernel";

private CpuModeValues() {}
Expand Down
Loading

0 comments on commit 580363b

Please sign in to comment.