Commit 0c35185
authored
Introduced Prometheus metrics endpoint for scraping (#1466)
* Initial Python support
* .NET support
* Introduced Prometheus metrics endpoint for scraping
* Streamline port numbers
* Remove test application files and add new .NET and Python test applications with Helm charts
- Deleted the TypeScript test application including package.json, server.ts, and tsconfig.json.
- Added a new .NET test application with Dockerfile, project file, and source code.
- Created a Helm chart for the .NET test application including deployment and service definitions.
- Added a new Python test application with Dockerfile, source code, and Helm chart.
- Each application includes a simple HTTP server that can call a target URL and handle errors.
* Cleanup
* Minor refactoring
* Cleanup
* Enable private preview languages in validation apps
* Refactor validate-mutation script to use dynamic environment variable and init container arrays
* Add support for Python and .NET targets in the test app configuration
* Enhance error handling in call-target route with logging
* Refactor error handling in call-target route to throw exceptions instead of writing error messages
* Add build and push instructions to Dockerfiles for various test apps
* Remove redundant status code setting for unexpected errors in call-target route
* Ensure imagePullPolicy is set to Always for nodejs-source-app container
* Add global exception handler for unhandled exceptions in the .NET application
* Refactor error handling in /call-target endpoint to log exceptions and return error responses
* Remove deprecated Kubernetes resource definitions and related configurations for app monitoring
* Remove obsolete configuration files and change log for app monitoring
* Move .NET test app to MVC
* Refactor /call-target endpoint to log exceptions and improve error handling
* Enhance error handling in /call-target endpoint with OpenTelemetry integration
* Refactor telemetry validation in validate_ai.sh to conditionally skip exceptions for Dotnet app and simplify error handling in dotnet-test-app.cs
* Improve health checks for app-monitoring-webhook deployment by validating pod readiness and container status
* Enhance deployment health check for app-monitoring-webhook by tracking rollout duration and verifying running pods
* Add validation output for MutatingWebhookConfiguration in test-cronjob.sh
* Enhance test-cronjob.sh by adding validation outputs for secret store and MutatingWebhookConfiguration states after modifications
* Enhance deployment health checks for app-monitoring-webhook by validating pod and container states specific to the latest ReplicaSet
* Fix secret store reference in test-cronjob.sh to use correct secret name
* Refactor deployment health check for app-monitoring-webhook to improve rollout status validation and error handling
* Refactor message in test-cronjob.sh for clarity on secret store repair process
* Fix caBundle value in MutatingWebhookConfiguration for app-monitoring-webhook
* Fix casing of caBundle in test-cronjob.sh output messages for consistency
* Update Helm chart from aks-rp repo
* Update README.md to include R2D process completion step and clarify rollout monitoring instructions
* Update README.md to clarify the R2D process and enhance instructions for monitoring AKS RP rollouts
* Update DotNet SDK image tag to 1.0.0-beta5
* Better coverage for Python and DotNet in tests
* Improve error logging in Mutator by including exception message in heartbeat metric
* Refactor server to use http for Prom endpoint server
* Expose CR count and instrumented namespace count metrics to prom scraper
* Update Python agent image tag to 1.0.0b25-aks
* Revert "Update Python agent image tag to 1.0.0b25-aks"
This reverts commit 4793286.1 parent fdcb2c7 commit 0c35185
File tree
6 files changed
+105
-11
lines changed- appmonitoring/ts/src
6 files changed
+105
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| |||
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | | - | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
131 | 138 | | |
132 | 139 | | |
133 | 140 | | |
| |||
146 | 153 | | |
147 | 154 | | |
148 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
149 | 178 | | |
150 | 179 | | |
151 | 180 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | | - | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
96 | 114 | | |
97 | 115 | | |
98 | 116 | | |
| |||
150 | 168 | | |
151 | 169 | | |
152 | 170 | | |
153 | | - | |
154 | 171 | | |
155 | 172 | | |
156 | 173 | | |
157 | 174 | | |
158 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
159 | 184 | | |
160 | 185 | | |
161 | 186 | | |
| |||
168 | 193 | | |
169 | 194 | | |
170 | 195 | | |
171 | | - | |
172 | | - | |
| 196 | + | |
| 197 | + | |
173 | 198 | | |
174 | 199 | | |
175 | 200 | | |
| |||
184 | 209 | | |
185 | 210 | | |
186 | 211 | | |
| 212 | + | |
187 | 213 | | |
188 | 214 | | |
189 | 215 | | |
| 216 | + | |
190 | 217 | | |
191 | 218 | | |
192 | 219 | | |
| |||
0 commit comments