You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/09/05 08:35:04 UTC

[GitHub] [apisix] ychensha commented on a diff in pull request #7856: docs: add doc for tencent cloud cls

ychensha commented on code in PR #7856:
URL: https://github.com/apache/apisix/pull/7856#discussion_r962636437


##########
docs/zh/latest/plugins/tencent-cloud-cls.md:
##########
@@ -0,0 +1,147 @@
+---
+title: tencent-cloud-cls
+keywords:
+  - APISIX
+  - API 网关
+  - Plugin
+  - CLS
+  - 腾讯云
+description: API 网关 Apache APISIX tencent-cloud-cls 插件可用于将日志推送到[腾讯云日志服务](https://cloud.tencent.com/document/product/614)。
+---
+
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
+## 描述
+
+`tencent-cloud-cls` 插件可用于将 APISIX 日志使用[腾讯云日志服务](https://cloud.tencent.com/document/product/614)API 推送到您的日志主题。
+
+## 属性
+
+| 名称              | 类型    | 必选项 | 默认值   | 有效值       | 描述                                                                           |
+| ----------------- | ------- | ------ |-------| ------------ |------------------------------------------------------------------------------|
+| cls_host          | string  | 是     |       |              | CLS API 域名,参考[使用 API 上传日志](https://cloud.tencent.com/document/api/614/16873) |
+| cls_topic         | string  | 是     |       |              | CLS 日志主题 id                                                                  |

Review Comment:
   topic是允许有名称的,跟id就是两个概念了,这里还是维持id比较合理



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org