Commit 4e4df51
fix: use otlp exporter type instead of otlp_grpc (#194)
* feat: enable log forwarding through otel collector
* chore(deps): update dependency packaging to v26.1 (#180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update dependency sphinx-ubuntu-images to v0.2.0 (#181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): replace astral-sh/setup-uv action with astral-sh/setup-uv v8 (#182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update module github.com/jackc/pgx/v5 to v5.9.2 (#183)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(dashboard): remove dead override hiding job queue time series (#184)
* fix(dashboard): remove dead override hiding job queue time series
The "Job queue time" panel had a leftover hideSeriesFrom override that
excluded every series except one specific named expression. Combined
with the panel's current query (which already aggregates with sum by
(le)), the override hid all data, leaving an empty chart.
The override is obsolete now that the query collapses every label
except le into a single combined histogram, so removing it restores
visualisation without any other change.
* ci: pin astral-sh/setup-uv to v8.1.0
The astral-sh/setup-uv repository does not publish a floating v8 major
tag (only v8.0.0 and v8.1.0 specific tags exist), so referencing @v8
fails to resolve and breaks the workflow on every PR.
* chore: update Copilot collections to v0.11.0 (#172)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Christopher Bartz <christopher.bartz@canonical.com>
* chore(docs): update contributing guidelines (charmkeeper) (#170)
* chore(docs): update contributing guidelines (charmkeeper)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(docs): build errors
* chore: clarify PR checklist and remove unnecessary item
* chore(docs): revert changes in CONTRIBUTING.md
* fix(docs): whoops we're ignoring the changelog
* fix: update pr checklist to incorporate previous items, remove duplicate items
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: run shell as bash
* Update docs/how-to/enable-log-forwarding.md
Co-authored-by: Erin Conley <erin.conley@canonical.com>
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Erin Conley <erin.conley@canonical.com>
* fix docs
* add index
* Update actions/enable-log-forwarding/enable-log-forwarding.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update actions/enable-log-forwarding/enable-log-forwarding.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* address code reviews
Co-authored-by: Copilot <copilot@github.com>
* add license
Co-authored-by: Copilot <copilot@github.com>
* fix docs
Co-authored-by: Copilot <copilot@github.com>
* refactor code
Co-authored-by: Copilot <copilot@github.com>
* Apply suggestions from code review
Co-authored-by: Erin Conley <erin.conley@canonical.com>
* address code reviews
Co-authored-by: Copilot <copilot@github.com>
* remove pyyaml
Co-authored-by: Copilot <copilot@github.com>
* parameterized test
Co-authored-by: Copilot <copilot@github.com>
* fix: use otlp exporter type instead of otlp_grpc
The opentelemetry-collector snap does not register an 'otlp_grpc'
exporter type. The correct type is 'otlp', which uses gRPC by default.
'otlp_grpc' caused the collector to fail to start after the config
fragment was written.
Also update the self-hosted smoke test to use the runner-injected
OTLP endpoint (removing the hardcoded localhost) and write real log
entries after forwarding is configured, so logs reach Loki.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: add tls insecure to generated otlp exporter config
The OTLP endpoint otlp.actions.self-hosted-runners.internal:4317 uses
a self-signed certificate that does not match its hostname. The existing
github.yaml config already sets tls.insecure: true for the same endpoint.
Add the same setting to the generated exporter fragment to prevent the
TLS handshake failure.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix logging action
* style: fix black formatting and missing final newline
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christopher Bartz <christopher.bartz@canonical.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Erin Conley <erin.conley@canonical.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Weii Wang <weii.wang@canonical.com>1 parent 8086844 commit 4e4df51
3 files changed
Lines changed: 52 additions & 6 deletions
File tree
- .github/workflows
- actions/enable-log-forwarding
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
19 | 34 | | |
20 | 35 | | |
21 | 36 | | |
| |||
174 | 189 | | |
175 | 190 | | |
176 | 191 | | |
| 192 | + | |
177 | 193 | | |
178 | 194 | | |
179 | 195 | | |
180 | 196 | | |
181 | 197 | | |
182 | 198 | | |
| 199 | + | |
183 | 200 | | |
184 | 201 | | |
185 | 202 | | |
186 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
187 | 215 | | |
188 | 216 | | |
189 | 217 | | |
| |||
196 | 224 | | |
197 | 225 | | |
198 | 226 | | |
| 227 | + | |
| 228 | + | |
199 | 229 | | |
200 | 230 | | |
201 | 231 | | |
202 | 232 | | |
203 | 233 | | |
204 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
205 | 239 | | |
206 | 240 | | |
207 | 241 | | |
208 | 242 | | |
209 | 243 | | |
210 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
211 | 249 | | |
212 | 250 | | |
213 | 251 | | |
| |||
217 | 255 | | |
218 | 256 | | |
219 | 257 | | |
| 258 | + | |
220 | 259 | | |
221 | 260 | | |
222 | 261 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
0 commit comments