Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(i18n): add desc for Datalayers #53

Merged
merged 2 commits into from
Aug 23, 2024
Merged

refactor(i18n): add desc for Datalayers #53

merged 2 commits into from
Aug 23, 2024

Conversation

Kinplemelon
Copy link
Member

No description provided.

@@ -121,6 +121,11 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
"使用 InfluxDB API Line Protocol 写入 InfluxDB 的数据,支持占位符,参考 [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) 及 [InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) <br/>TLDR: <br/>```<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]```<br/>注意,整形数值占位符后需要添加一个字符 `i` 类型标识。例如 `${'{'}payload.int_value{'}'}i`",
precision: 'InfluxDB 时间精度。',
},
datalayers: {
write_syntax:
'Datalayers 采用与 InfluxDB v1 完全兼容的行协议,为用户提供了熟悉且高效的数据写入方式。虽然兼容InfluxDB v1 的语法,但 Datalayers 在底层实现上有其独特之处,以优化性能和适应其特定的存储结构。参考 [InfluxDB Line Protocol](https://docs.datalayers.cn/datalayers/latest/development-guide/writing-with-influxdb-line-protocol.html)',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check the desc

@@ -130,6 +130,11 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
"Conf of InfluxDB line protocol to write data points. It is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point, and placeholder supported. See also [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) and [InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) <br/>TLDR:<br/>```<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]```<br/>Please note that a placeholder for an integer value must be annotated with a suffix `i`. For example `${'{'}payload.int_value{'}'}i`.",
precision: 'InfluxDB time precision.',
},
datalayers: {
write_syntax:
'Datalayers adopts a line protocol fully compatible with InfluxDB v1, providing users with a familiar and efficient method for data ingestion. While compatible with InfluxDB v1 syntax, Datalayers has its unique characteristics in its underlying implementation to optimize performance and adapt to its specific storage structure. For more information, refer to [InfluxDB Line Protocol](https://docs.datalayers.cn/datalayers/latest/development-guide/writing-with-influxdb-line-protocol.html).',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Does this link have an English version? https://docs.datalayers.cn/datalayers/latest/development-guide/writing-with-influxdb-line-protocol.html I see it's redirecting to the CN site.

Copy link
Member

@ysfscream ysfscream Aug 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. In the last section of InfluxDB Line Protocol, I think it might confuse users into thinking it's the official InfluxDB documentation. Can we clarify this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e.g. Writing Data with InfluxDB Line Protocol in Datalayers.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Does this link have an English version? https://docs.datalayers.cn/datalayers/latest/development-guide/writing-with-influxdb-line-protocol.html I see it's redirecting to the CN site.

There's no English version here.

@@ -121,6 +121,11 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
"使用 InfluxDB API Line Protocol 写入 InfluxDB 的数据,支持占位符,参考 [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) 及 [InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) <br/>TLDR: <br/>```<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]```<br/>注意,整形数值占位符后需要添加一个字符 `i` 类型标识。例如 `${'{'}payload.int_value{'}'}i`",
precision: 'InfluxDB 时间精度。',
},
datalayers: {
write_syntax:
'Datalayers 采用与 InfluxDB v1 完全兼容的行协议,为用户提供了熟悉且高效的数据写入方式。虽然兼容InfluxDB v1 的语法,但 Datalayers 在底层实现上有其独特之处,以优化性能和适应其特定的存储结构。参考 [InfluxDB Line Protocol](https://docs.datalayers.cn/datalayers/latest/development-guide/writing-with-influxdb-line-protocol.html)',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES. same here.

@ysfscream ysfscream merged commit 8a29447 into main Aug 23, 2024
1 check passed
@ysfscream ysfscream deleted the kinple/dev branch August 23, 2024 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants