Skip to content

Commit

Permalink
Disable by default
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbr committed Jun 6, 2023
1 parent 7555d19 commit b96a789
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
16 changes: 8 additions & 8 deletions receiver/dockerstatsreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,6 @@ Outgoing packets dropped.
| ---- | ----------- | ------ |
| interface | Network interface. | Any Str |

### container.uptime

Time elapsed since container start time.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| s | Gauge | Double |

## Optional Metrics

The following metrics are not emitted by default. Each of them can be enabled by applying the following configuration:
Expand Down Expand Up @@ -694,6 +686,14 @@ It requires docker API 1.23 or higher and kernel version >= 4.3 with pids cgroup
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {pids} | Sum | Int | Cumulative | false |

### container.uptime

Time elapsed since container start time.

| Unit | Metric Type | Value Type |
| ---- | ----------- | ---------- |
| s | Gauge | Double |

## Resource Attributes

| Name | Description | Values | Enabled |
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion receiver/dockerstatsreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ metrics:

# Base
container.uptime:
enabled: true
enabled: false
description: "Time elapsed since container start time."
unit: s
gauge:
Expand Down

0 comments on commit b96a789

Please sign in to comment.