Skip to content

Commit

Permalink
resync
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani committed Sep 17, 2023
1 parent d6e93ee commit 273b3bd
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- [influxdb](contrib/jsternberg/influxdb.md)
- [clickhouse](contrib/qxip/clickhouse.md)
- [hash](contrib/qxip/hash.md)
- [iox](contrib/qxip/iox.md)
- [logql](contrib/qxip/logql.md)
- [bigpanda](contrib/rhajek/bigpanda.md)
- [opsgenie](contrib/sranka/opsgenie.md)
Expand Down
47 changes: 47 additions & 0 deletions docs/contrib/qxip/iox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## `iox` package

Package iox provides additional functions for querying data from InfluxDB IOx.

Import the `iox` package:

```flux
import "iox"
```

### Functions

### `from()`

from retrieves data from an IOx bucket between the `start` and `stop` times.

#### Function type signature

```flux
(
bucket: A,
?columns: B,
?host: C,
?limit: D,
?org: E,
?secure: F,
?start: G,
?stop: H,
?table: I,
?token: J,
) => stream[K] where A: Stringable, B: Stringable, C: Equatable + Stringable, D: Stringable, E: Equatable + Stringable, F: Stringable, G: Timeable, H: Timeable, I: Stringable, J: Equatable + Stringable, K: Record
```

#### Parameters

| Parameter | Description | Required |
| --- | --- | --- |
| bucket | bucket: Name of the IOx bucket to query. | Yes |
| start | start: Earliest time to include in results. | No |
| stop | stop: Latest time to include in results. Default is `now()`. | No |
| host | host: URL of the IOx instance to query. | No |
| org | org: Organization name. | No |
| token | token: [API token](https://docs.influxdata.com/influxdb/latest/security/tokens/). | No |
| table | table: Table used in the FlightSQL query. | No |
| limit | limit: Limit for the FlightSQL query. Default is `1000`. | No |
| columns | columns: Columns selected by the FlightSQL query. Default is `*`. | No |
| secure | secure: Secure connection to IOx instance. Default is `true`. | No |
2 changes: 1 addition & 1 deletion docs/flux-docs-short.json

Large diffs are not rendered by default.

0 comments on commit 273b3bd

Please sign in to comment.