[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)

# sampleentity

## Default Metrics

The following metrics are emitted by default. Each of them can be disabled by applying the following configuration:

```yaml
metrics:
  <metric_name>:
    enabled: false
```

### k8s.pod.cpu_time

CPU time consumed by the pod

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- |
| s | Sum | Double | Cumulative | true | Development |

### k8s.pod.phase

Current phase of the pod

| Unit | Metric Type | Value Type | Stability |
| ---- | ----------- | ---------- | --------- |
| 1 | Gauge | Int | Development |

#### Attributes

| Name | Description | Values | Requirement Level | Semantic Convention |
| ---- | ----------- | ------ | ----------------- | ------------------- |
| phase | The phase of the pod (Pending, Running, Succeeded, Failed, Unknown) | Str: ``Pending``, ``Running``, ``Succeeded``, ``Failed``, ``Unknown`` | Recommended | - |

### k8s.replicaset.desired

Number of desired replicas

| Unit | Metric Type | Value Type | Stability |
| ---- | ----------- | ---------- | --------- |
| {replicas} | Gauge | Int | Development |

## Resource Attributes

| Name | Description | Values | Enabled | Semantic Convention | Stability |
| ---- | ----------- | ------ | ------- | ------------------- | --------- |
| k8s.namespace.name | The name of the Kubernetes Namespace | Any Str | true | - | - |
| k8s.pod.name | The name of the Kubernetes Pod | Any Str | true | - | - |
| k8s.pod.uid | The UID of the Kubernetes Pod | Any Str | true | - | - |
| k8s.replicaset.name | The name of the Kubernetes ReplicaSet | Any Str | true | - | - |
| k8s.replicaset.uid | The UID of the Kubernetes ReplicaSet | Any Str | true | - | - |

## Entities

The following entities are defined for this component:

### k8s.replicaset

A Kubernetes ReplicaSet

**Stability:** Development

**Identifying Attributes:**
- `k8s.replicaset.uid`

**Descriptive Attributes:**
- `k8s.replicaset.name`

### k8s.pod

A Kubernetes Pod

**Stability:** Development

**Identifying Attributes:**
- `k8s.pod.uid`

**Descriptive Attributes:**
- `k8s.pod.name`
