Commit 6097186
authored
4.x: Observability update (helidon-io#7625)
* Design proposal - observability
* Added a health only example.
* Health, metrics, log, info, log updated to new approach.
* Fix usages of observe feature, and fix problems
* Remove the requirement to use `providers` as a sub-key when using providers in builders. This aligns the keys with builder methods, and simplifies configuration.
* Fix SE Quickstart to use config again.
Add OpenApiFeature.create(Config) method
* Reformat OpenApiFeature class, as it had static methods mixed with constants, enums before code etc.
* Mp quickstart test a bit nicer.
* Copyright and checkstyle fixes.
* Small improvement for handling next on not found
* Fix all tests.
* Global config accessible from io.helidon.config.Config class.
* Archetype updates to new observability API
Class model fix to correctly import arrays1 parent 4b95513 commit 6097186
105 files changed
Lines changed: 3591 additions & 2058 deletions
File tree
- archetypes/helidon/src/main/archetype
- common
- se/custom
- builder
- api/src/main/java/io/helidon/builder/api
- processor/src/main/java/io/helidon/builder/processor
- tests/builder/src/test/resources
- common/processor/class-model/src/main/java/io/helidon/common/processor/classmodel
- config
- config/src/main/java/io/helidon/config
- metadata-processor/src/main/java/io/helidon/config/metadata/processor
- examples
- health/basics/src/main/java/io/helidon/examples/health/basics
- integrations/neo4j/src/main/java/io/helidon/examples/integrations/neo4j
- metrics
- filtering/se/src/main/java/io/helidon/examples/metrics/filtering/se
- kpi/src/main/java/io/helidon/examples/metrics/kpi
- microprofile/multiport/src/main/resources
- quickstarts
- helidon-quickstart-mp/src/test/java/io/helidon/examples/quickstart/mp
- helidon-quickstart-se/src/main/java/io/helidon/examples/quickstart/se
- helidon-standalone-quickstart-se/src/main/java/io/helidon/examples/quickstart/se
- integrations/micrometer/cdi/src/main/java/io/helidon/integrations/micrometer/cdi
- lra/coordinator/server/src/main/java/io/helidon/lra/coordinator
- microprofile
- cors/src/test/java/io/helidon/microprofile/cors
- health/src/main/java/io/helidon/microprofile/health
- metrics/src
- main/java/io/helidon/microprofile/metrics
- test/java/io/helidon/microprofile/metrics
- openapi/src/main/java/io/helidon/microprofile/openapi
- server
- src/main/java
- io/helidon/microprofile/server
- service-common/src
- main/java/io/helidon/microprofile/servicecommon
- test/java/io/helidon/microprofile/servicecommon
- tests/tck/tck-restful/tck-restful-test
- openapi/src/main/java/io/helidon/openapi
- tests
- apps/bookstore/bookstore-se/src/main
- java/io/helidon/tests/apps/bookstore/se
- resources
- functional/multiport/src
- main/resources
- test
- java/io/helidon/tests/functional/multiport
- resources
- integration
- dbclient
- app/src/main/java/io/helidon/tests/integration/dbclient/app
- common/src/main/java/io/helidon/tests/integration/dbclient/common/tests
- health/mp-disabled/src/test/java/io/helidon/tests/integration/health/mp/disabled
- native-image/se-1/src/main/java/io/helidon/tests/integration/nativeimage/se1
- webserver
- http2/src/test/resources
- observe
- config
- src/main/java
- io/helidon/webserver/observe/config
- health
- src/main/java
- io/helidon/webserver/observe/health
- info
- src/main/java
- io/helidon/webserver/observe/info
- log
- src/main/java
- io/helidon/webserver/observe/log
- metrics
- src/main/java
- io/helidon/webserver/observe/metrics
- observe
- src/main/java
- io/helidon/webserver/observe
- spi
- tests/observe
- health/src/test/java/io/helidon/webserver/tests/observe/health
- observe
- src/test
- java/io/helidon/webserver/tests/observe
- resources
- webserver/src/test/resources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 10 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
| 155 | + | |
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
162 | 161 | | |
163 | 162 | | |
164 | | - | |
| 163 | + | |
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
| |||
463 | 462 | | |
464 | 463 | | |
465 | 464 | | |
466 | | - | |
467 | | - | |
| 465 | + | |
| 466 | + | |
468 | 467 | | |
469 | 468 | | |
470 | 469 | | |
| |||
487 | 486 | | |
488 | 487 | | |
489 | 488 | | |
490 | | - | |
| 489 | + | |
491 | 490 | | |
492 | 491 | | |
493 | 492 | | |
| |||
504 | 503 | | |
505 | 504 | | |
506 | 505 | | |
507 | | - | |
| 506 | + | |
508 | 507 | | |
509 | 508 | | |
510 | 509 | | |
| |||
515 | 514 | | |
516 | 515 | | |
517 | 516 | | |
518 | | - | |
| 517 | + | |
519 | 518 | | |
520 | 519 | | |
521 | 520 | | |
522 | 521 | | |
523 | | - | |
524 | | - | |
| 522 | + | |
525 | 523 | | |
526 | 524 | | |
527 | 525 | | |
| |||
566 | 564 | | |
567 | 565 | | |
568 | 566 | | |
569 | | - | |
570 | | - | |
| 567 | + | |
| 568 | + | |
571 | 569 | | |
572 | 570 | | |
573 | 571 | | |
| |||
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | | - | |
65 | | - | |
| 63 | + | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| |||
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
116 | | - | |
| 114 | + | |
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
| |||
Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| |||
90 | 98 | | |
91 | 99 | | |
92 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
93 | 107 | | |
94 | 108 | | |
95 | | - | |
96 | | - | |
97 | 109 | | |
98 | 110 | | |
99 | 111 | | |
| |||
108 | 120 | | |
109 | 121 | | |
110 | 122 | | |
| 123 | + | |
111 | 124 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
119 | 130 | | |
120 | 131 | | |
121 | 132 | | |
| |||
Lines changed: 20 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
116 | 123 | | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
121 | | - | |
| 128 | + | |
| 129 | + | |
122 | 130 | | |
123 | | - | |
| 131 | + | |
124 | 132 | | |
125 | 133 | | |
126 | 134 | | |
| |||
129 | 137 | | |
130 | 138 | | |
131 | 139 | | |
132 | | - | |
| 140 | + | |
133 | 141 | | |
134 | 142 | | |
135 | 143 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
141 | 150 | | |
142 | 151 | | |
143 | 152 | | |
| |||
185 | 194 | | |
186 | 195 | | |
187 | 196 | | |
| 197 | + | |
188 | 198 | | |
189 | 199 | | |
190 | 200 | | |
| |||
235 | 245 | | |
236 | 246 | | |
237 | 247 | | |
238 | | - | |
239 | 248 | | |
240 | 249 | | |
241 | 250 | | |
| |||
Lines changed: 15 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 84 | | |
89 | 85 | | |
90 | | - | |
| 86 | + | |
91 | 87 | | |
92 | 88 | | |
| 89 | + | |
| 90 | + | |
93 | 91 | | |
94 | 92 | | |
95 | 93 | | |
96 | 94 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 95 | + | |
112 | 96 | | |
113 | | - | |
| 97 | + | |
114 | 98 | | |
115 | 99 | | |
116 | 100 | | |
117 | 101 | | |
118 | 102 | | |
119 | | - | |
| 103 | + | |
| 104 | + | |
120 | 105 | | |
121 | 106 | | |
122 | 107 | | |
| |||
127 | 112 | | |
128 | 113 | | |
129 | 114 | | |
| 115 | + | |
130 | 116 | | |
131 | 117 | | |
132 | 118 | | |
133 | 119 | | |
134 | 120 | | |
135 | | - | |
136 | | - | |
| 121 | + | |
| 122 | + | |
137 | 123 | | |
138 | 124 | | |
139 | 125 | | |
| |||
147 | 133 | | |
148 | 134 | | |
149 | 135 | | |
150 | | - | |
| 136 | + | |
151 | 137 | | |
152 | 138 | | |
153 | 139 | | |
| |||
0 commit comments