You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk-extensions/incubator/README.md
-96Lines changed: 0 additions & 96 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,99 +6,3 @@ This artifact contains experimental code related to the trace and metric SDKs.
6
6
7
7
> [!WARNING]
8
8
> Relocated to [opentelemetry-sdk-extensions-declarative-config](../declarative-config)
9
-
10
-
## View File Configuration
11
-
12
-
> [!WARNING]
13
-
> This mechanism is superseded by declarative config, which is now stable (spec and schema at [opentelemetry-configuration](https://github.com/open-telemetry/opentelemetry-configuration)) and will be removed after the 1.62.0 release. Please use [declarative configuration](#declarative-configuration) instead.
14
-
15
-
Adds support for file based YAML configuration of Metric SDK Views.
16
-
17
-
For example, suppose `/Users/user123/view.yaml` has the following content:
.setAttributesFilter(key -> new HashSet<>(Arrays.asList("foo", "bar")).contains(key))
56
-
.build());
57
-
```
58
-
59
-
If using [autoconfigure](../autoconfigure) with this artifact on your classpath, it will automatically load a list of view config files specified via environment variable or system property:
60
-
61
-
| System property | Environment variable | Purpose |
|[`explicit_bucket_histogram`]|`bucket_boundaries` (optional): List of inclusive upper boundaries for the histogram buckets, in order from lowest to highest. |
87
-
|[`exponential_bucket_histogram`]|`max_buckets` (optional): The maximum number of buckets to use for positive or negative recordings. |
88
-
89
-
Additional notes on usage:
90
-
91
-
- Many view configurations can live in one file. The YAML is parsed as an array of view
92
-
configurations.
93
-
- At least one selection field is required, but including all is not necessary. Any omitted fields
94
-
will result in the default from `InstrumentSelector` being used.
95
-
- At least one view field is required, but including all is not required. Any omitted fields will
96
-
result in the default from `View` being used.
97
-
- Instrument name selection supports the following wildcard characters: `*` matches 0 or more instances of any character; `?` matches exactly one instance of any character. No other advanced selection criteria is supported.
Copy file name to clipboardExpand all lines: sdk-extensions/incubator/src/main/java/io/opentelemetry/sdk/extension/incubator/metric/viewconfig/SelectorSpecification.java
0 commit comments