-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat: support Tencent Cloud Log Service #7593
Conversation
272f561
to
698adc5
Compare
add tencent-cloud-cls add tencent-cloud-cls add tencent-cloud-cls add tencent-cloud-cls add tencent-cloud-cls
698adc5
to
bd8c579
Compare
Thanks for your contribution. But please add a license to each file and add test cases first. |
any doc for testing? I have no exp for env setup & PERL testing framework... |
See: https://github.com/apache/apisix/blob/master/docs/en/latest/internal/testing-framework.md |
tried.. I work on Mac, and now trapped in etcd configuration for more tesing case |
78579de
to
2ab9eef
Compare
2ab9eef
to
f57cc30
Compare
refa error & proto file load
7b9e2d7
to
fd30d49
Compare
apisix/plugins/tencent-cloud-cls.lua
Outdated
properties = { | ||
cls_host = { type = "string" }, | ||
cls_topic = { type = "string" }, | ||
-- https://console.cloud.tencent.com/capi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this link for?
I have a question: Is it that we can't do the test case to verify that this plugin is working correctly? |
We can inject a hook or mock into the code? Like: Line 35 in b3d4b46
apisix/t/plugin/opentelemetry.t Line 553 in b3d4b46
|
I have same question too. But same question can be applie to other plugins that have env matters |
|
@spacewander @tzssangglass after code related conversations closed, I will do the function test again for the related code modification. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e3bff97
to
5d86522
Compare
d83df93
to
f4dd849
Compare
@ychensha pls don't use force-push to update code, or reviews' comments may be ignore. |
Let's merge master to make CI pass. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve except https://github.com/apache/apisix/pull/7593/files#r941961486
As this PR is big enough, let's open another PR for the doc.
As this PR is big enough, let's open another PR for the doc. |
Description
product doc
apisix log util is more powerfull than nginx access log, and it's useful for debugging and replaying later.
Fixes #7592
Checklist