Merge branch 'master' into telegraf-v1.37.0
commit
6d251f2869
|
|
@ -95,7 +95,7 @@ jobs:
|
|||
curl -L -H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-o link-checker-info.json \
|
||||
"https://api.github.com/repos/influxdata/docs-v2/releases/tags/link-checker-v1.2.4"
|
||||
"https://api.github.com/repos/influxdata/docs-v2/releases/tags/link-checker-v1.2.5"
|
||||
|
||||
# Extract download URL for linux binary
|
||||
DOWNLOAD_URL=$(jq -r '.assets[] | select(.name | test("link-checker.*linux")) | .url' link-checker-info.json)
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ Use [Docker](https://docker.com) to install and run **InfluxDB 3 Explorer**.
|
|||
- [Persist data across restarts](#persist-data-across-restarts)
|
||||
- [Pre-configure InfluxDB connections](#pre-configure-influxdb-connections)
|
||||
- [Enable TLS/SSL (HTTPS)](#enable-tlsssl-https)
|
||||
- [TLS and certificate verification options](#tls-and-certificate-verification-options)
|
||||
- [Use self-signed certificates](#use-self-signed-certificates)
|
||||
- [Choose operational mode](#choose-operational-mode)
|
||||
- [Advanced configuration](#advanced-configuration)
|
||||
- [Environment variables](#environment-variables)
|
||||
|
|
@ -347,6 +349,104 @@ To enable TLS/SSL for secure connections:
|
|||
> [!Note]
|
||||
> The nginx web server automatically detects and uses certificate files in the mounted path.
|
||||
|
||||
#### TLS and certificate verification options
|
||||
|
||||
Use the following environment variables to configure TLS and certificate verification:
|
||||
|
||||
- `NODE_EXTRA_CA_CERTS` - Path to custom CA certificate file inside container (recommended).
|
||||
|
||||
This option adds an intermediate or custom CA certificate to the Node.js trusted certificate store
|
||||
and is required when InfluxDB uses certificates signed by an internal or private CA.
|
||||
|
||||
- **Format**: PEM format certificate file
|
||||
- **Example**: `-e NODE_EXTRA_CA_CERTS=/ca-certs/ca-bundle.crt`
|
||||
|
||||
> [!Note]
|
||||
> This is the native Node.js environment variable for custom CAs.
|
||||
|
||||
- `CA_CERT_PATH` - Alternative to `NODE_EXTRA_CA_CERTS` (convenience alias)
|
||||
- **Example**: `-e CA_CERT_PATH=/ca-certs/ca-bundle.crt`
|
||||
|
||||
> [!Note]
|
||||
> Use either `NODE_EXTRA_CA_CERTS` or `CA_CERT_PATH`; not both. `CA_CERT_PATH` aliases `NODE_EXTRA_CA_CERTS`.
|
||||
|
||||
#### Use self-signed certificates
|
||||
|
||||
To configure Explorer to trust self-signed or custom CA certificates when connecting to InfluxDB:
|
||||
|
||||
1. **Create a directory for CA certificates:**
|
||||
|
||||
```bash
|
||||
mkdir -p ./ca-certs
|
||||
```
|
||||
|
||||
2. **Copy your CA certificate to the directory:**
|
||||
|
||||
```bash
|
||||
cp /path/to/your-ca.pem ./ca-certs/
|
||||
```
|
||||
|
||||
3. **Mount the CA certificate directory and set the `NODE_EXTRA_CA_CERTS` environment variable:**
|
||||
|
||||
{{< expand-wrapper >}}
|
||||
{{% expand "View example Docker configuration for self-signed certificates" %}}
|
||||
|
||||
{{< code-tabs-wrapper >}}
|
||||
{{% code-tabs %}}
|
||||
[Docker](#)
|
||||
[Docker Compose](#)
|
||||
{{% /code-tabs %}}
|
||||
|
||||
{{% code-tab-content %}}
|
||||
{{< code-callout "NODE_EXTRA_CA_CERTS" >}}
|
||||
```bash
|
||||
docker run --detach \
|
||||
--name influxdb3-explorer \
|
||||
--restart unless-stopped \
|
||||
--publish 8888:443 \
|
||||
--volume $(pwd)/db:/db:rw \
|
||||
--volume $(pwd)/config:/app-root/config:ro \
|
||||
--volume $(pwd)/ssl:/etc/nginx/ssl:ro \
|
||||
--volume $(pwd)/ca-certs:/ca-certs:ro \
|
||||
--env SESSION_SECRET_KEY=your-secure-secret-key-here \
|
||||
--env NODE_EXTRA_CA_CERTS=/ca-certs/your-ca.pem \
|
||||
influxdata/influxdb3-ui:{{% latest-patch %}} \
|
||||
--mode=admin
|
||||
```
|
||||
{{< /code-callout >}}
|
||||
{{% /code-tab-content %}}
|
||||
|
||||
{{% code-tab-content %}}
|
||||
{{< code-callout "NODE_EXTRA_CA_CERTS" >}}
|
||||
```yaml
|
||||
# docker-compose.yml
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
explorer:
|
||||
image: influxdata/influxdb3-ui:{{% latest-patch %}}
|
||||
container_name: influxdb3-explorer
|
||||
pull_policy: always
|
||||
command: ["--mode=admin"]
|
||||
ports:
|
||||
- "8888:443"
|
||||
volumes:
|
||||
- ./db:/db:rw
|
||||
- ./config:/app-root/config:ro
|
||||
- ./ssl:/etc/nginx/ssl:ro
|
||||
- ./ca-certs:/ca-certs:ro
|
||||
environment:
|
||||
SESSION_SECRET_KEY: ${SESSION_SECRET_KEY:-your-secure-secret-key-here}
|
||||
NODE_EXTRA_CA_CERTS: /ca-certs/your-ca.pem
|
||||
restart: unless-stopped
|
||||
```
|
||||
{{< /code-callout >}}
|
||||
{{% /code-tab-content %}}
|
||||
{{< /code-tabs-wrapper >}}
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}}
|
||||
|
||||
### Choose operational mode
|
||||
|
||||
{{% product-name %}} supports two operational modes:
|
||||
|
|
@ -410,6 +510,8 @@ services:
|
|||
| `DATABASE_URL` | `/db/sqlite.db` | Path to SQLite database inside container |
|
||||
| `SSL_CERT_PATH` | `/etc/nginx/ssl/cert.pem` | Path to SSL certificate file |
|
||||
| `SSL_KEY_PATH` | `/etc/nginx/ssl/key.pem` | Path to SSL private key file |
|
||||
| `NODE_EXTRA_CA_CERTS` | _(none)_ | Path to custom CA certificate file (PEM format) for trusting self-signed or internal CA certificates |
|
||||
| `CA_CERT_PATH` | _(none)_ | Alias for `NODE_EXTRA_CA_CERTS` |
|
||||
|
||||
> [!Important]
|
||||
> Always set `SESSION_SECRET_KEY` in production to persist user sessions across container restarts.
|
||||
|
|
@ -426,6 +528,7 @@ services:
|
|||
| `/db` | SQLite database storage | 700 | No (but recommended) |
|
||||
| `/app-root/config` | Connection configuration | 755 | No |
|
||||
| `/etc/nginx/ssl` | TLS/SSL certificates | 755 | Only for HTTPS |
|
||||
| `/ca-certs` | Custom CA certificates | 755 | Only for self-signed certificates |
|
||||
|
||||
### Port reference
|
||||
|
||||
|
|
@ -527,7 +630,7 @@ docker-compose up -d
|
|||
{{% code-tab-content %}}
|
||||
```bash
|
||||
docker run --rm \
|
||||
--name influxdb3-explorer-dev \
|
||||
--name influxdb3-explorer \
|
||||
--publish 8888:80 \
|
||||
influxdata/influxdb3-ui:{{% latest-patch %}}
|
||||
```
|
||||
|
|
@ -541,9 +644,10 @@ version: '3.8'
|
|||
services:
|
||||
explorer:
|
||||
image: influxdata/influxdb3-ui:{{% latest-patch %}}
|
||||
container_name: influxdb3-explorer-dev
|
||||
container_name: influxdb3-explorer
|
||||
ports:
|
||||
- "8888:80"
|
||||
```
|
||||
{{% /code-tab-content %}}
|
||||
{{< /code-tabs-wrapper >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,71 @@
|
|||
## 2.12.0 {date="2025-12-09"}
|
||||
|
||||
### Features
|
||||
|
||||
- Add 'influxdata-archive-keyring' as a suggested package to simplify future repository key rotations for the end user
|
||||
- Add a new `--perf-debug` flag to the `query` command that outputs performance statistics and gRPC response trailers instead of query results
|
||||
|
||||
Example Output for `--perf-debug`:
|
||||
|
||||
```
|
||||
$ ./influxctl query --perf-debug --format table --token REDACTED --database testdb --language influxql "SELECT SUM(i), non_negative_difference(SUM(i)) as diff_i FROM data WHERE time > '2025-11-07T01:20:00Z' AND time < '2025-11-07T03:00:00Z' AND runid = '540cd752bb6411f0a23e30894adea878' GROUP BY time(5m)"
|
||||
+--------------------------+----------+
|
||||
| Metric | Value |
|
||||
+--------------------------+----------+
|
||||
| Client Duration | 1.222 s |
|
||||
| Output Rows | 20 |
|
||||
| Output Size | 647 B |
|
||||
+--------------------------+----------+
|
||||
| Compute Duration | 37.2 ms |
|
||||
| Execution Duration | 243.8 ms |
|
||||
| Ingester Latency Data | 0 |
|
||||
| Ingester Latency Plan | 0 |
|
||||
| Ingester Partition Count | 0 |
|
||||
| Ingester Response | 0 B |
|
||||
| Ingester Response Rows | 0 |
|
||||
| Max Memory | 70 KiB |
|
||||
| Parquet Files | 1 |
|
||||
| Partitions | 1 |
|
||||
| Planning Duration | 9.6 ms |
|
||||
| Queue Duration | 286.6 µs |
|
||||
+--------------------------+----------+
|
||||
|
||||
$ ./influxctl query --perf-debug --format json --token REDACTED --database testdb --language influxql "SELECT SUM(i), non_negative_difference(SUM(i)) as diff_i FROM data WHERE time > '2025-11-07T01:20:00Z' AND time < '2025-11-07T03:00:00Z' AND runid = '540cd752bb6411f0a23e30894adea878' GROUP BY time(5m)"
|
||||
{
|
||||
"client_duration_secs": 1.101,
|
||||
"compute_duration_secs": 0.037,
|
||||
"execution_duration_secs": 0.247,
|
||||
"ingester_latency_data": 0,
|
||||
"ingester_latency_plan": 0,
|
||||
"ingester_partition_count": 0,
|
||||
"ingester_response_bytes": 0,
|
||||
"ingester_response_rows": 0,
|
||||
"max_memory_bytes": 71744,
|
||||
"output_bytes": 647,
|
||||
"output_rows": 20,
|
||||
"parquet_files": 1,
|
||||
"partitions": 1,
|
||||
"planning_duration_secs": 0.009,
|
||||
"queue_duration_secs": 0
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
### Dependency updates
|
||||
|
||||
- Update Go to 1.25.5.
|
||||
- Update `github.com/containerd/containerd` from 1.7.27 to 1.7.29
|
||||
- Update `github.com/go-git/go-git/v5` from 5.16.3 to 5.16.4
|
||||
- Update `github.com/jedib0t/go-pretty/v6` from 6.6.8 to 6.7.5
|
||||
- Update `github.com/ovechkin-dm/mockio/v2` from 2.0.3 to 2.0.4
|
||||
- Update `go.uber.org/zap` from 1.27.0 to 1.27.1
|
||||
- Update `golang.org/x/crypto` from 0.43.0 to 0.45.0
|
||||
- Update `golang.org/x/mod` from 0.29.0 to 0.30.0
|
||||
- Update `golang.org/x/oauth2` from 0.32.0 to 0.33.0
|
||||
- Update `google.golang.org/grpc` from 1.76.0 to 1.77.0
|
||||
|
||||
---
|
||||
|
||||
## 2.11.0 {date="2025-10-17"}
|
||||
|
||||
### Features
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ influxdb3_cloud_dedicated:
|
|||
list_order: 3
|
||||
latest: cloud-dedicated
|
||||
link: "https://www.influxdata.com/contact-sales-cloud-dedicated/"
|
||||
latest_cli: 2.11.0
|
||||
latest_cli: 2.12.0
|
||||
placeholder_host: cluster-id.a.influxdb.io
|
||||
detector_config:
|
||||
query_languages:
|
||||
|
|
|
|||
Loading…
Reference in New Issue