Repository navigation
Commit f35cfe0
Pass ClickHouse credentials from the environment (#215)
ClickhouseReporter created its client with no credentials, so imports
always connected as the server's default user. Read CLICKHOUSE_USER and
CLICKHOUSE_PASSWORD, the variables clickhouse-client uses, and pass them
on when both are set. Without them nothing changes.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent d6fddc5 commit f35cfe0
2 files changed
Lines changed: 30 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
189 | 201 | | |
190 | 202 | | |
191 | 203 | | |
| |||
286 | 298 | | |
287 | 299 | | |
288 | 300 | | |
| 301 | + | |
289 | 302 | | |
290 | 303 | | |
291 | 304 | | |
| |||
525 | 538 | | |
526 | 539 | | |
527 | 540 | | |
| 541 | + | |
528 | 542 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
134 | 149 | | |
135 | 150 | | |
136 | 151 | | |
| |||
0 commit comments