Skip to content

Commit 780ac78

Browse files
committed
WIP: update generated docs after stability handling changes
1 parent e329b88 commit 780ac78

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

cmd/mdatagen/internal/sampleconnector/documentation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metrics:
1414
1515
### default.metric
1616
17-
Monotonic cumulative sum int metric enabled by default. [Development]
17+
Monotonic cumulative sum int metric enabled by default.
1818
1919
The metric will be become optional soon.
2020
@@ -34,7 +34,7 @@ The metric will be become optional soon.
3434
3535
### default.metric.to_be_removed
3636
37-
[DEPRECATED] Non-monotonic delta sum double metric enabled by default. [Deprecated]
37+
[DEPRECATED] Non-monotonic delta sum double metric enabled by default.
3838
3939
The metric will be removed soon.
4040
@@ -44,7 +44,7 @@ The metric will be removed soon.
4444
4545
### metric.input_type
4646
47-
Monotonic cumulative sum int metric with string input_type enabled by default. [Development]
47+
Monotonic cumulative sum int metric with string input_type enabled by default.
4848
4949
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
5050
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- |
@@ -62,7 +62,7 @@ Monotonic cumulative sum int metric with string input_type enabled by default. [
6262
6363
### reaggregate.metric
6464
65-
Metric for testing spacial reaggregation [Beta]
65+
Metric for testing spacial reaggregation
6666
6767
| Unit | Metric Type | Value Type | Stability |
6868
| ---- | ----------- | ---------- | --------- |
@@ -87,7 +87,7 @@ metrics:
8787
8888
### optional.metric
8989
90-
[DEPRECATED] Gauge double metric disabled by default. [Deprecated]
90+
[DEPRECATED] Gauge double metric disabled by default.
9191
9292
| Unit | Metric Type | Value Type | Stability | Deprecation |
9393
| ---- | ----------- | ---------- | --------- | ----------- |
@@ -103,7 +103,7 @@ metrics:
103103
104104
### optional.metric.empty_unit
105105
106-
[DEPRECATED] Gauge double metric disabled by default. [Deprecated]
106+
[DEPRECATED] Gauge double metric disabled by default.
107107
108108
| Unit | Metric Type | Value Type | Stability | Deprecation |
109109
| ---- | ----------- | ---------- | --------- | ----------- |

cmd/mdatagen/internal/samplereceiver/documentation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metrics:
1414
1515
### default.metric
1616
17-
Monotonic cumulative sum int metric enabled by default. [Deprecated]
17+
Monotonic cumulative sum int metric enabled by default.
1818
1919
The metric will be become optional soon.
2020
@@ -37,7 +37,7 @@ The metric will be become optional soon.
3737
3838
### default.metric.to_be_removed
3939
40-
[DEPRECATED] Non-monotonic delta sum double metric enabled by default. [Deprecated]
40+
[DEPRECATED] Non-monotonic delta sum double metric enabled by default.
4141
4242
The metric will be removed soon.
4343
@@ -47,7 +47,7 @@ The metric will be removed soon.
4747
4848
### metric.input_type
4949
50-
Monotonic cumulative sum int metric with string input_type enabled by default. [Development]
50+
Monotonic cumulative sum int metric with string input_type enabled by default.
5151
5252
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
5353
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- |
@@ -65,7 +65,7 @@ Monotonic cumulative sum int metric with string input_type enabled by default. [
6565
6666
### reaggregate.metric
6767
68-
Metric for testing spacial reaggregation [Beta]
68+
Metric for testing spacial reaggregation
6969
7070
| Unit | Metric Type | Value Type | Stability |
7171
| ---- | ----------- | ---------- | --------- |
@@ -80,7 +80,7 @@ Metric for testing spacial reaggregation [Beta]
8080
8181
### system.cpu.time
8282
83-
Monotonic cumulative sum int metric enabled by default. [Beta]
83+
Monotonic cumulative sum int metric enabled by default.
8484
8585
The metric will be become optional soon.
8686
@@ -100,7 +100,7 @@ metrics:
100100
101101
### optional.metric
102102
103-
[DEPRECATED] Gauge double metric disabled by default. [Deprecated]
103+
[DEPRECATED] Gauge double metric disabled by default.
104104
105105
| Unit | Metric Type | Value Type | Stability | Deprecation |
106106
| ---- | ----------- | ---------- | --------- | ----------- |
@@ -117,7 +117,7 @@ metrics:
117117
118118
### optional.metric.empty_unit
119119
120-
[DEPRECATED] Gauge double metric disabled by default. [Deprecated]
120+
[DEPRECATED] Gauge double metric disabled by default.
121121
122122
| Unit | Metric Type | Value Type | Stability | Deprecation |
123123
| ---- | ----------- | ---------- | --------- | ----------- |

cmd/mdatagen/internal/samplescraper/documentation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metrics:
1414
1515
### default.metric
1616
17-
Monotonic cumulative sum int metric enabled by default. [Development]
17+
Monotonic cumulative sum int metric enabled by default.
1818
1919
The metric will be become optional soon.
2020
@@ -34,7 +34,7 @@ The metric will be become optional soon.
3434
3535
### default.metric.to_be_removed
3636
37-
[DEPRECATED] Non-monotonic delta sum double metric enabled by default. [Deprecated]
37+
[DEPRECATED] Non-monotonic delta sum double metric enabled by default.
3838
3939
The metric will be removed soon.
4040
@@ -44,7 +44,7 @@ The metric will be removed soon.
4444
4545
### metric.input_type
4646
47-
Monotonic cumulative sum int metric with string input_type enabled by default. [Development]
47+
Monotonic cumulative sum int metric with string input_type enabled by default.
4848
4949
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
5050
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- |
@@ -62,7 +62,7 @@ Monotonic cumulative sum int metric with string input_type enabled by default. [
6262
6363
### reaggregate.metric
6464
65-
Metric for testing spacial reaggregation [Beta]
65+
Metric for testing spacial reaggregation
6666
6767
| Unit | Metric Type | Value Type | Stability |
6868
| ---- | ----------- | ---------- | --------- |
@@ -77,7 +77,7 @@ Metric for testing spacial reaggregation [Beta]
7777
7878
### system.cpu.time
7979
80-
Monotonic cumulative sum int metric enabled by default. [Beta]
80+
Monotonic cumulative sum int metric enabled by default.
8181
8282
The metric will be become optional soon.
8383
@@ -97,7 +97,7 @@ metrics:
9797
9898
### optional.metric
9999
100-
[DEPRECATED] Gauge double metric disabled by default. [Deprecated]
100+
[DEPRECATED] Gauge double metric disabled by default.
101101
102102
| Unit | Metric Type | Value Type | Stability | Deprecation |
103103
| ---- | ----------- | ---------- | --------- | ----------- |
@@ -113,7 +113,7 @@ metrics:
113113
114114
### optional.metric.empty_unit
115115
116-
[DEPRECATED] Gauge double metric disabled by default. [Deprecated]
116+
[DEPRECATED] Gauge double metric disabled by default.
117117
118118
| Unit | Metric Type | Value Type | Stability | Deprecation |
119119
| ---- | ----------- | ---------- | --------- | ----------- |

cmd/mdatagen/internal/templates/documentation.md.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
### {{ $metricName }}
66

7-
{{ $metric.Description }}{{ $metric.Stability }}
8-
7+
{{ $metric.Description }}
98
{{- if $metric.ExtendedDocumentation }}
109

1110
{{ $metric.ExtendedDocumentation }}

0 commit comments

Comments
 (0)