Commit b37e26e
Add HttpInfluxClient for HTTPS/Cloudflare environments; v0.2.1
gRPC/Arrow Flight is blocked through Cloudflare tunnels (HTTP/2 not
passed through). HttpInfluxClient uses /api/v3/query_sql over plain
HTTPS with JSON responses as a drop-in replacement for InfluxDBClient3.
Auto-selected by get_influx_client() when host starts with https://.
Local http:// stacks continue to use InfluxDBClient3 (gRPC).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8e82cb0 commit b37e26e
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| 91 | + | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
| 95 | + | |
91 | 96 | | |
92 | 97 | | |
93 | 98 | | |
| 99 | + | |
94 | 100 | | |
95 | 101 | | |
96 | 102 | | |
| |||
0 commit comments