Skip to content

Commit

Permalink
hotfix: fix explicit schema file examples, closes influxdata#4563
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderson committed Oct 14, 2022
1 parent 6c597d4 commit b69ca52
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Use the `influx` CLI to set the schema-type and measurement schemas for your buc

Format the file as CSV, JSON, or [Newline delimited JSON (NDJSON)](http://ndjson.org/),
as in the following examples:

{{% code-tabs-wrapper %}}
{{% code-tabs %}}
[usage-resources.csv](#)
Expand Down
10 changes: 5 additions & 5 deletions shared/text/bucket-schema/usage-cpu.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{"name": "time", "type": "timestamp"},
{"name": "service", "type": "tag"},
{"name": "host", "type": "tag"},
{"name": "usage_user", "type": "field", "dataType": "float"},
{"name": "usage_system", "type": "field", "dataType": "float"}
{"name": "time", "type": "timestamp"},
{"name": "service", "type": "tag"},
{"name": "host", "type": "tag"},
{"name": "usage_user", "type": "field", "dataType": "float"},
{"name": "usage_system", "type": "field", "dataType": "float"}
]
4 changes: 2 additions & 2 deletions shared/text/bucket-schema/usage-resources.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name,type,data_type
name,type,dataType
time,timestamp,
host,tag,
service,tag,
fsRead,field,float
fsWrite,field,float
fsWrite,field,float

0 comments on commit b69ca52

Please sign in to comment.