Commit Graph

6905 Commits (5c74f013a1509c16c9b13cb57837f7bf2bcbaf87)

Author SHA1 Message Date
Jason Stirnaman 5c74f013a1 chore(ci): Improve CI lint and test runners
- Reconfigures prettier linting.
- Adds .editorconfig to help with consistent editor settings
- Refactors test runs:
  - Removes test configuration from compose.yaml (not suited for this use case).
  - Splits test runner into test content setup and pytest that can be run separately or together (and with other test runners in the future).
  - Configuration is in Dockerfiles and command line (`.lintstagedrc.mjs`)
- Updates CONTRIBUTING.md
- Updates client library write examples in cloud-dedicated and clustered.
2024-06-21 18:41:07 -05:00
Jason Stirnaman 37dd3eaa8d fix: reference: python v3 client library examples should use write_options, not WriteOptions
Fixes #5475
2024-05-30 09:00:02 -05:00
Jason Stirnaman 0895069789
Merge pull request #5485 from influxdata/ci-lint-and-test-fixes
Ci lint and test fixes
2024-05-30 08:53:28 -05:00
Jason Stirnaman 344b81f536
Merge branch 'master' into ci-lint-and-test-fixes 2024-05-30 08:48:05 -05:00
Jason Stirnaman 0209891e9c fix(ci): Set vale's minAlertLevel to error for commits 2024-05-29 18:06:18 -05:00
Jason Stirnaman 078df59a38 fix(ci): Vale format and custom vocabularies
- Revert vale JSON output to line output so that husky appropriately fails the commit.
- Update custom vocab terms
- Add Vale to BasedOnStyles to enable the custom vocabs--they need access to Vale's **Avoid** action.
2024-05-29 17:42:31 -05:00
Jason Stirnaman 8f95a26d36 chore: Remove quotes from vale command flag values 2024-05-29 17:09:03 -05:00
Jason Stirnaman 2e9d94fc90 chore(ci): configure lint-staged to run vale with custom vocabs
- Configures lint-staged to run vale on staged files and use a custom config with custom vocab for specific directories.
- .md files in other directories use the project-level .vale.ini
- Adds the write-good package for style checking
2024-05-29 16:46:51 -05:00
Jason Stirnaman 12b1583b68 chore: add test data and improve test runner:
- Pulls python client lib and CLI from Github repo instead of package repo so we can test the latest release. Specifies the last release tag.
- Adds CSV and JSON home sensor data samples to /static/downloads.
- Test image build bind mounts /static/downloads into /usr/src/app/test/tmp/data. Allows code samples to reference sample data as `./data/[file]`.
- Moves run-tests.sh to setup directory.
- Dockerfile cleanup. Add jq for inspection/troubleshooting.
2024-05-29 13:31:31 -05:00
Bethelhem Legesse f0459d3bc6
Merge pull request #5480 from influxdata/chore/update-clustered-install-doc
chore: info about dedicated postgres instance
2024-05-28 07:17:41 -05:00
Bethelhem Legesse 7d1d8ab46f
fix: Update content
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-05-28 07:15:18 -05:00
Bethelhem Legesse a666f3faad
fix: Update content
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-05-28 07:14:51 -05:00
Beth Legesse b11c15ee84 chore: fix 2024-05-23 17:08:43 -05:00
Beth Legesse a33875fe02 chore: info about dedicated postgres instance 2024-05-23 16:59:08 -05:00
Jason Stirnaman d96225087a
Merge pull request #5478 from influxdata/5477-curl-examples
fix: follow download.influxdata.com redirects (closes #5477)
2024-05-21 13:45:04 -05:00
Jason Stirnaman 9e5a10cf58 fix: follow download.influxdata.com redirects (closes #5477) 2024-05-21 12:55:50 -05:00
Scott Anderson 2ace7c5f7d
document show retention policies InfluxQL statement (#5474) 2024-05-17 08:26:47 -06:00
Jason Stirnaman d3d2c834cd
Merge pull request #5473 from influxdata/jstirnaman/issue5463
fix: add missing partial and schema descriptions for InfluxQL JSON response
2024-05-17 09:15:14 -05:00
Jason Stirnaman 9a8ae35c6e
Merge branch 'master' into jstirnaman/issue5463 2024-05-17 09:04:33 -05:00
Steve 64b202332b
Adding alternative downsampling examples - Using Quix (#5451)
* Downsampling InfluxDB2 data with Quix

* Minor updates

* Adjust weight

* WIP - Added downsample with Quix

* Update menu

* Update menu for v2 downsampling with Flux and Quix

* v2 downsampling page ordering

* Add Quix downsample example to clustered

* Add Quix downsample example to cloud

* Update content/influxdb/cloud-dedicated/process-data/downsample/downsample-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/clustered/process-data/downsample/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Updates based on review comments

* Update Cloud downsampling with Quix page title

* Task/influx quix updates (#3)

Adding alternative downsampling examples - Using Quix.

This PR includes changes to:

Dedicated
Cloud(TSM)
OSS
Clustered
Quix is collaborating with Influxdata to act as a pure Python alternative to Kapacitor+Flux.

The audience is folks who:

Know Python already and/or don't want to learn a DSL, and possibly those who want to process data more "Pythonically" rather than mixing SQL syntax and Python.
FYI: Quix is both a runtime platform (Quix Cloud) and data processor (Quix Streams Python library). The aim of the articles is to show how downsampling can be done in a continuous real-time process using pure Python.

[x] Signed the InfluxData CLA
(if necessary)
[x] Rebased/mergeableAdding alternative downsampling examples - Using Quix.

* Update content/influxdb/cloud-serverless/process-data/downsample/quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud-dedicated/process-data/downsample/downsample.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud-serverless/process-data/downsample/quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update layouts/shortcodes/html-diagram/influxdb-v3-quix-downsample-pipeline.html

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update layouts/shortcodes/html-diagram/influxdb-v3-quix-downsample-pipeline.html

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update layouts/shortcodes/html-diagram/influxdb-v3-quix-downsample-pipeline.html

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Review updates (#4)

Updates from review. thanks.

* Update content/influxdb/cloud-dedicated/process-data/downsample/downsample-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2/tools/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2/tools/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2/tools/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2/tools/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2/tools/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/v2/tools/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/clustered/process-data/downsample/quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/clustered/process-data/downsample/quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/clustered/process-data/downsample/client-libraries.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud-serverless/process-data/downsample/quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/process-data/common-tasks/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/influxdb/cloud/process-data/common-tasks/downsample-data-quix.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Updates from review (#5)

Updates from review

---------

Co-authored-by: steverosam <steve@quix.ai>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-05-16 13:12:15 -06:00
Jason Stirnaman df3d9cad38 Merge remote-tracking branch 'origin/master' into jstirnaman/issue5463 2024-05-16 12:50:53 -05:00
Jason Stirnaman 8acbb22312 fix: add missing partial and schema descriptions for InfluxQL JSON response
- Closes #5364
- part of https://github.com/influxdata/DAR/issues/424
- depends on https://github.com/influxdata/openapi/pull/651
2024-05-16 12:48:55 -05:00
Jason Stirnaman c3064aa4fc
Merge pull request #5471 from influxdata/fix-iot-starter-tutorial
Fix IoT Starter tutorials
2024-05-15 13:08:09 -05:00
Jason Stirnaman 416e9d4c17 Merge remote-tracking branch 'origin/master' into fix-iot-starter-tutorial 2024-05-15 11:25:18 -05:00
Jason Stirnaman aa51867486 fix: remove truncate - nesting breaks the layout 2024-05-15 11:21:48 -05:00
Jason Stirnaman f98a7dbb2c fix: add tutorial prerequisites 2024-05-15 11:10:22 -05:00
Jason Stirnaman 30d40aed2d
Merge pull request #5468 from influxdata/jstirnaman/issue5463
fix: missing link bracket
2024-05-14 14:42:16 -05:00
Jason Stirnaman 00d16fe917
Merge branch 'master' into jstirnaman/issue5463 2024-05-14 14:34:54 -05:00
Scott Anderson 37ab74fa25
document influxql subqueries (#5470) 2024-05-14 13:06:04 -06:00
Jason Stirnaman 76df36d514
Merge branch 'master' into jstirnaman/issue5463 2024-05-14 13:28:35 -05:00
Jason Stirnaman 560152a374 fix: apply suggestion
- "not sure why DEFAULT is formatted as code. The default RP on a database is the first RP created in a database unless otherwise specified. And typically, the first RP created in a db is autogen"

Co-authored-by: Scott Anderson <scott@influxdata.com>
2024-05-14 09:16:22 -05:00
Jason Stirnaman 799cc35640 fix: missing link bracket 2024-05-13 16:37:48 -05:00
Scott Anderson 101644ef08
Add note about using timeformat for partition templates (#5465)
* add note about using timeformat for partition templates

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-05-13 12:53:45 -06:00
Scott Anderson 65bbf168bd
update supported InfluxQL functions for v3 (#5464) 2024-05-10 18:27:16 -06:00
Jason Stirnaman 16c1a7ce09
Merge pull request #5466 from influxdata/dar-425-token-delay
chore(v3): increase suggested wait for token activation
2024-05-10 15:23:10 -05:00
Jason Stirnaman dbcb5dcac2
Apply suggestions from code review
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-05-10 15:21:30 -05:00
Jason Stirnaman e16405282d chore(v3): increase suggested wait for token activation
- part of https://github.com/influxdata/DAR/issues/425
- Tokens currently can take minutes to sync
- Add Notable behaviors to guides and references
2024-05-10 14:38:35 -05:00
Jason Stirnaman affcc00b28
Merge pull request #5461 from influxdata/5453-bad-flux-url
fix(flux): page not found (#5453)
2024-05-09 17:36:47 -05:00
Jason Stirnaman d48d864d3d Merge remote-tracking branch 'origin/master' into 5453-bad-flux-url 2024-05-09 17:34:16 -05:00
Jason Stirnaman 729a4f8293 fix(flux): cumulativeSum page not found (#5453)
- Add alias URL.
    - Issue doesn't indicate where the bad URL was found.
2024-05-09 16:11:41 -05:00
Jason Stirnaman 0cd0589bf3
Merge pull request #5462 from influxdata/5421-flux-typo
fix(flux): typo. Closes #5421
2024-05-09 14:29:39 -05:00
Jason Stirnaman 5e2f1f2773 fix(flux): typo. Closes #5421 2024-05-09 11:41:01 -05:00
Jack 2fede490b9
chore: bump kubit to 0.0.15 (#5460) 2024-05-07 08:35:23 -06:00
Scott Anderson 7cd1767efa hotfix: apply upstream changes to sql subqueries doc 2024-05-06 17:33:29 -06:00
Scott Anderson 640448b952 hotfix: fix telegraf plugin typo, closes #5457 2024-05-06 16:56:06 -06:00
dezdez efae13f39f
Update install.md (#5456)
Removed erroneous backtick character. This is two separate PowerShell commands.

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-05-06 14:38:21 -06:00
Scott Anderson ecbaeb2e2a
influxctl 2.9.0 (#5459)
* added --time-format to influxctl query (#5452)

* update timestamp format names and command-specific release notes

* Release influxctl v2.9.0 (#5458)

* Release influxctl v2.9.0

* add influxctl 2.9.0 release note

---------

Co-authored-by: Scott Anderson <scott@influxdata.com>

* fixed typo

* updated links to rfc3339nano glossary entry

---------

Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-05-06 13:16:19 -06:00
Scott Anderson b12223dcc0 hotfix: fix typos in sql subqueries 2024-05-06 10:53:33 -06:00
Scott Anderson 2d407834d6 hotfix: add missing influxctl write config options 2024-04-29 17:13:36 -06:00
Jason Stirnaman b18b0dfc40
Dedicated: task-based, use Management API to manage database tokens (#5447)
* feat(dedicated): Task-based docs for using the Management API to manage database tokens.

* chore(dedicated): Specify where to run the command

* Update content/influxdb/cloud-dedicated/admin/tokens/database/create.md

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Scott Anderson <scott@influxdata.com>
2024-04-29 13:45:13 -06:00