Merge branch 'master' into core-enterprise-api-ref
commit
1654d3c4f3
|
@ -62,6 +62,7 @@ Default is the `location` option.
|
|||
- [Return the hour of a time value](#return-the-hour-of-a-time-value)
|
||||
- [Return the hour of a relative duration](#return-the-hour-of-a-relative-duration)
|
||||
- [Return the current hour](#return-the-current-hour)
|
||||
- [Return the hour in localtime ](#return-the-hour-in-localtime)
|
||||
|
||||
### Return the hour of a time value
|
||||
|
||||
|
@ -96,3 +97,11 @@ date.hour(t: now())
|
|||
|
||||
```
|
||||
|
||||
### Return the hour in local time
|
||||
|
||||
```js
|
||||
import "date"
|
||||
import "timezone"
|
||||
|
||||
date.hour(t: r._time, location: timezone.location(name: "Europe/Berlin"))
|
||||
```
|
||||
|
|
|
@ -159,6 +159,9 @@ docker pull \
|
|||
--platform linux/arm64 \
|
||||
quay.io/influxdb/influxdb3-core:latest
|
||||
```
|
||||
> [!Note]
|
||||
> The {{% product-name %}} Docker image exposes port `8181`, the `influxdb3` server default for HTTP connections.
|
||||
> To map the exposed port to a different port when running a container, see the Docker guide for [Publishing and exposing ports](https://docs.docker.com/get-started/docker-concepts/running-containers/publishing-ports/).
|
||||
|
||||
### Use Docker Compose
|
||||
|
||||
|
|
|
@ -170,8 +170,12 @@ To run the [Docker image](/influxdb3/core/install/#docker-image) and persist dat
|
|||
- `-v /path/on/host:/path/in/container`: Mounts a directory from your filesystem to the container
|
||||
- `--object-store file --data-dir /path/in/container`: Uses the mount for server storage
|
||||
|
||||
<!--pytest.mark.skip-->
|
||||
> [!Note]
|
||||
>
|
||||
> The {{% product-name %}} Docker image exposes port `8181`, the `influxdb3` server default for HTTP connections.
|
||||
> To map the exposed port to a different port when running a container, see the Docker guide for [Publishing and exposing ports](https://docs.docker.com/get-started/docker-concepts/running-containers/publishing-ports/).
|
||||
|
||||
<!--pytest.mark.skip-->
|
||||
```bash
|
||||
# Filesystem object store with Docker
|
||||
# Create a mount
|
||||
|
|
|
@ -55,8 +55,8 @@ The generated file contains settings for all available plugins--some are enabled
|
|||
|
||||
To generate a configuration file that contains settings for only specific plugins,
|
||||
use the `--input-filter` and `--output-filter` options to
|
||||
specify [input plugins](/telegraf/v1/plugins/input_plugins)
|
||||
and [output plugins](/telegraf/v1/plugins/output_plugins/).
|
||||
specify [input plugins](/telegraf/v1/configure_plugins/input_plugins/)
|
||||
and [output plugins](/telegraf/v1/configure_plugins/output_plugins/).
|
||||
Use a colon (`:`) to separate plugin names.
|
||||
|
||||
#### Syntax
|
||||
|
|
|
@ -584,8 +584,8 @@ telegraf config > telegraf.conf
|
|||
|
||||
To generate a configuration file that contains settings for only specific plugins,
|
||||
use the `--input-filter` and `--output-filter` options to
|
||||
specify [input plugins](/telegraf/v1/plugins/input_plugins)
|
||||
and [output plugins](/telegraf/v1/plugins/output_plugins/)--for example:
|
||||
specify [input plugins](/telegraf/v1/configure_plugins/input_plugins/)
|
||||
and [output plugins](/telegraf/v1/configure_plugins/output_plugins/)--for example:
|
||||
|
||||
{{% code-placeholders "cpu|http|influxdb_v2|file" %}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue