[GitHub] [apisix-website] netlify[bot] edited a comment on pull request #971: docs: add events page to track our events
netlify[bot] edited a comment on pull request #971: URL: https://github.com/apache/apisix-website/pull/971#issuecomment-1077444398 ### ✅ Deploy Preview for *apache-apisix* ready! | Name | Link | |-|| | Latest commit | 7d1219488e32ee7ac8aac7d4a11bf72074ff61ab | | Latest deploy log | https://app.netlify.com/sites/apache-apisix/deploys/623d5880753f160009efc3bb | | Deploy Preview | https://deploy-preview-971--apache-apisix.netlify.app | | Preview on mobile | Toggle QR Code... ![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTk3MS0tYXBhY2hlLWFwaXNpeC5uZXRsaWZ5LmFwcCJ9.Cl60MqkQZAQV5orvs42WPHxey3nxJy0In1UR72NamWU)_Use your smartphone camera to open QR code link._ | --- _To edit notification comments on pull requests, go to your [Netlify site settings](https://app.netlify.com/sites/apache-apisix/settings/deploys#deploy-notifications)._ -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] Boburmirzo commented on a change in pull request #971: docs: add events page to track our events
Boburmirzo commented on a change in pull request #971: URL: https://github.com/apache/apisix-website/pull/971#discussion_r834972316 ## File path: website/docs/general/events.md ## @@ -0,0 +1,29 @@ +--- +id: events +title: Events +keywords: + - Events + - Conferences + - Workshops + - Meetups +description: This page provides information about upcoming Apache APISIX's community events where you can track Meetups, Conferences and Workshops. +--- + +## Events Review comment: > Hi, bcoz we have the Page Title attribute, how about removing this one? I removed the title of the event but added content navigation for different kind of events like: ## Contents * [Conferences](#conferences) * [Workshops](#workshops) * [Meetups](#meetups) ![image](https://user-images.githubusercontent.com/14247607/160062930-cce9c3ea-379e-46bb-b630-14cd105f7aac.png) But again we need some approvals from zero:) -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] Boburmirzo commented on a change in pull request #971: docs: add events page to track our events
Boburmirzo commented on a change in pull request #971: URL: https://github.com/apache/apisix-website/pull/971#discussion_r834972316 ## File path: website/docs/general/events.md ## @@ -0,0 +1,29 @@ +--- +id: events +title: Events +keywords: + - Events + - Conferences + - Workshops + - Meetups +description: This page provides information about upcoming Apache APISIX's community events where you can track Meetups, Conferences and Workshops. +--- + +## Events Review comment: > Hi, bcoz we have the Page Title attribute, how about removing this one? I removed the title of the event but added content navigation for different kind of events like: ## Contents * [Conferences](#conferences) * [Workshops](#workshops) * [Meetups](#meetups) But again we need some approvals from zero:) -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] Boburmirzo commented on a change in pull request #971: docs: add events page to track our events
Boburmirzo commented on a change in pull request #971: URL: https://github.com/apache/apisix-website/pull/971#discussion_r834972316 ## File path: website/docs/general/events.md ## @@ -0,0 +1,29 @@ +--- +id: events +title: Events +keywords: + - Events + - Conferences + - Workshops + - Meetups +description: This page provides information about upcoming Apache APISIX's community events where you can track Meetups, Conferences and Workshops. +--- + +## Events Review comment: > Hi, bcoz we have the Page Title attribute, how about removing this one? I removed the title of the event but added content navigation for different kind of events like: ## Contents * [Conferences](#conferences) * [Workshops](#workshops) * [Meetups](#meetups) -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] netlify[bot] edited a comment on pull request #971: docs: add events page to track our events
netlify[bot] edited a comment on pull request #971: URL: https://github.com/apache/apisix-website/pull/971#issuecomment-1077444398 ### Deploy Preview for *apache-apisix* processing. | Name | Link | |-|| | Latest commit | 7d1219488e32ee7ac8aac7d4a11bf72074ff61ab | | Latest deploy log | https://app.netlify.com/sites/apache-apisix/deploys/623d5880753f160009efc3bb | -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-ingress-controller] PGDream commented on issue #934: request help: apisix/cluster.go:343 cluster default now is ready, cost time 608.392498ms
PGDream commented on issue #934: URL: https://github.com/apache/apisix-ingress-controller/issues/934#issuecomment-1078676608 > NO , not create CRD default with ingress -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] navendu-pottekkat commented on issue #392: feature request: refine code block copy button behaviour to ignore the leading `$`
navendu-pottekkat commented on issue #392: URL: https://github.com/apache/apisix-website/issues/392#issuecomment-1078675878 @juzhiyuan Yes. We are including this in the style guide and would be using more of Docusaurus' features. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] Boburmirzo commented on a change in pull request #971: docs: add events page to track our events
Boburmirzo commented on a change in pull request #971: URL: https://github.com/apache/apisix-website/pull/971#discussion_r834967370 ## File path: website/docs/general/events.md ## @@ -0,0 +1,29 @@ +--- +id: events +title: Events +keywords: + - Events + - Conferences + - Workshops + - Meetups +description: This page provides information about upcoming Apache APISIX's community events where you can track Meetups, Conferences and Workshops. +--- + +## Events Review comment: Good point! Let's remove that. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-helm-chart] tao12345666333 commented on a change in pull request #259: feat: upgrade APISIX to 2.13.0
tao12345666333 commented on a change in pull request #259: URL: https://github.com/apache/apisix-helm-chart/pull/259#discussion_r834955894 ## File path: charts/apisix/Chart.yaml ## @@ -31,12 +31,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.8.4 +version: 0.8.5 Review comment: ```suggestion version: 0.9.0 ``` Every time a major version is upgraded, we also upgrade directly -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-docker] spacewander merged pull request #295: feat: upgrade APISIX to 2.13.0
spacewander merged pull request #295: URL: https://github.com/apache/apisix-docker/pull/295 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-docker] branch master updated: feat: upgrade APISIX to 2.13.0 (#295)
This is an automated email from the ASF dual-hosted git repository. spacewander pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-docker.git The following commit(s) were added to refs/heads/master by this push: new e398cb6 feat: upgrade APISIX to 2.13.0 (#295) e398cb6 is described below commit e398cb6ac7f38e646f9033f70ee86fb7a41ef104 Author: leslie <59061168+leslie-ts...@users.noreply.github.com> AuthorDate: Fri Mar 25 12:55:09 2022 +0800 feat: upgrade APISIX to 2.13.0 (#295) --- .github/workflows/apisix-docker-test.yaml | 2 +- Makefile | 2 +- all-in-one/apisix/Dockerfile | 2 +- alpine/Dockerfile | 2 +- centos/Dockerfile | 2 +- example/docker-compose-arm64.yml | 2 +- example/docker-compose.yml| 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/apisix-docker-test.yaml b/.github/workflows/apisix-docker-test.yaml index a598b93..ffaac67 100644 --- a/.github/workflows/apisix-docker-test.yaml +++ b/.github/workflows/apisix-docker-test.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest env: APISIX_PATH: "./apisix-local" - APISIX_DOCKER_TAG: 2.12.1-${{ matrix.platform }} + APISIX_DOCKER_TAG: 2.13.0-${{ matrix.platform }} steps: - uses: actions/checkout@v2 diff --git a/Makefile b/Makefile index 4f31614..2299e38 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ # APISIX ARGS -APISIX_VERSION ?= 2.12.1 +APISIX_VERSION ?= 2.13.0 IMAGE_NAME = apache/apisix IMAGE_TAR_NAME = apache_apisix diff --git a/all-in-one/apisix/Dockerfile b/all-in-one/apisix/Dockerfile index be76b59..3ecac82 100644 --- a/all-in-one/apisix/Dockerfile +++ b/all-in-one/apisix/Dockerfile @@ -16,7 +16,7 @@ # ARG ENABLE_PROXY=false -ARG APISIX_VERSION=2.12.1 +ARG APISIX_VERSION=2.13.0 ARG ETCD_VERSION=v3.4.14 # Build Apache APISIX diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 02a52f3..2423816 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -20,7 +20,7 @@ ARG ENABLE_PROXY=false # Build Apache APISIX FROM api7/apisix-base:1.19.9.1.4 -ARG APISIX_VERSION=2.12.1 +ARG APISIX_VERSION=2.13.0 LABEL apisix_version="${APISIX_VERSION}" ARG ENABLE_PROXY diff --git a/centos/Dockerfile b/centos/Dockerfile index 817479d..6ce43b0 100644 --- a/centos/Dockerfile +++ b/centos/Dockerfile @@ -17,7 +17,7 @@ FROM centos:7 -ARG APISIX_VERSION=2.12.1 +ARG APISIX_VERSION=2.13.0 LABEL apisix_version="${APISIX_VERSION}" RUN yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm \ diff --git a/example/docker-compose-arm64.yml b/example/docker-compose-arm64.yml index dff001b..69dfbce 100644 --- a/example/docker-compose-arm64.yml +++ b/example/docker-compose-arm64.yml @@ -29,7 +29,7 @@ services: apisix: apisix: -image: apache/apisix:2.12.1-alpine +image: apache/apisix:2.13.0-alpine restart: always volumes: - ./apisix_log:/usr/local/apisix/logs diff --git a/example/docker-compose.yml b/example/docker-compose.yml index f49767e..7c761d5 100644 --- a/example/docker-compose.yml +++ b/example/docker-compose.yml @@ -29,7 +29,7 @@ services: apisix: apisix: -image: apache/apisix:2.12.1-alpine +image: apache/apisix:2.13.0-alpine restart: always volumes: - ./apisix_log:/usr/local/apisix/logs
[GitHub] [apisix] easlee commented on pull request #6713: fix(batch-requests): read trailers
easlee commented on pull request #6713: URL: https://github.com/apache/apisix/pull/6713#issuecomment-1078652512 How do I run the test after create a mock upstream? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] easlee removed a comment on pull request #6713: fix(batch-requests): read trailers
easlee removed a comment on pull request #6713: URL: https://github.com/apache/apisix/pull/6713#issuecomment-1078651333 > Let's add a test in t/plugin/batch-requests2.t. We can create a mock upstream like > > https://github.com/apache/apisix/blob/6cd7b8d024d2b3da9db0a61dbff3b462059fa233/t/plugin/batch-requests2.t#L185 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] easlee commented on pull request #6713: fix(batch-requests): read trailers
easlee commented on pull request #6713: URL: https://github.com/apache/apisix/pull/6713#issuecomment-1078651333 > Let's add a test in t/plugin/batch-requests2.t. We can create a mock upstream like > > https://github.com/apache/apisix/blob/6cd7b8d024d2b3da9db0a61dbff3b462059fa233/t/plugin/batch-requests2.t#L185 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] easlee closed pull request #6713: fix(batch-requests): read trailers
easlee closed pull request #6713: URL: https://github.com/apache/apisix/pull/6713 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander merged pull request #6716: feat: release 2.13.0
spacewander merged pull request #6716: URL: https://github.com/apache/apisix/pull/6716 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix] branch master updated: feat: release 2.13.0 (#6716)
This is an automated email from the ASF dual-hosted git repository. spacewander pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix.git The following commit(s) were added to refs/heads/master by this push: new 52bbd18 feat: release 2.13.0 (#6716) 52bbd18 is described below commit 52bbd18aa37059421198a83a092dba11d7559969 Author: 罗泽轩 AuthorDate: Fri Mar 25 12:07:38 2022 +0800 feat: release 2.13.0 (#6716) Co-authored-by: zhixiongdu Co-authored-by: tzssangglass --- .asf.yaml | 4 ++ .github/workflows/centos7-ci.yml | 2 +- CHANGELOG.md | 49 +++ apisix/core/version.lua | 2 +- apisix/utils/batch-processor.lua | 2 +- docs/en/latest/config.json| 2 +- docs/en/latest/how-to-build.md| 8 +-- docs/zh/latest/CHANGELOG.md | 49 +++ docs/zh/latest/config.json| 2 +- docs/zh/latest/how-to-build.md| 6 +-- rockspec/apisix-2.13.0-0.rockspec | 100 ++ 11 files changed, 214 insertions(+), 12 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 51a6b73..78b072f 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -48,6 +48,10 @@ github: dismiss_stale_reviews: true require_code_owner_reviews: true required_approving_review_count: 2 + release/2.13: +required_pull_request_reviews: + require_code_owner_reviews: true + required_approving_review_count: 2 release/2.12: required_pull_request_reviews: require_code_owner_reviews: true diff --git a/.github/workflows/centos7-ci.yml b/.github/workflows/centos7-ci.yml index 2eed2c6..d9a3292 100644 --- a/.github/workflows/centos7-ci.yml +++ b/.github/workflows/centos7-ci.yml @@ -51,7 +51,7 @@ jobs: run: | export VERSION=${{ steps.branch_env.outputs.version }} sudo gem install --no-document fpm -git clone -b v2.7.0 https://github.com/api7/apisix-build-tools.git +git clone --depth 1 https://github.com/api7/apisix-build-tools.git # move codes under build tool mkdir ./apisix-build-tools/apisix diff --git a/CHANGELOG.md b/CHANGELOG.md index 6efaf0f..701f0ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ title: Changelog ## Table of Contents +- [2.13.0](#2130) - [2.12.1](#2121) - [2.12.0](#2120) - [2.11.0](#2110) @@ -53,6 +54,54 @@ title: Changelog - [0.7.0](#070) - [0.6.0](#060) +## 2.13.0 + +### Change + +- change(syslog): correct the configuration [#6551](https://github.com/apache/apisix/pull/6551) +- change(server-info): use a new approach(keepalive) to report DP info [#6202](https://github.com/apache/apisix/pull/6202) +- change(admin): empty nodes should be encoded as array [#6384](https://github.com/apache/apisix/pull/6384) +- change(prometheus): replace wrong apisix_nginx_http_current_connections{state="total"} label [#6327](https://github.com/apache/apisix/pull/6327) +- change: don't expose public API by default & remove plugin interceptor [#6196](https://github.com/apache/apisix/pull/6196) + +### Core + +- :sunrise: feat: add delayed_body_filter phase [#6605](https://github.com/apache/apisix/pull/6605) +- :sunrise: feat: support for reading environment variables from yaml configuration files [#6505](https://github.com/apache/apisix/pull/6505) +- :sunrise: feat: rerun rewrite phase for newly added plugins in consumer [#6502](https://github.com/apache/apisix/pull/6502) +- :sunrise: feat: add config to control write all status to x-upsream-apisix-status [#6392](https://github.com/apache/apisix/pull/6392) +- :sunrise: feat: add kubernetes discovery module [#4880](https://github.com/apache/apisix/pull/4880) +- :sunrise: feat(graphql): support http get and post json request [#6343](https://github.com/apache/apisix/pull/6343) + +### Plugin + +- :sunrise: feat: jwt-auth support custom parameters [#6561](https://github.com/apache/apisix/pull/6561) +- :sunrise: feat: set cors allow origins by plugin metadata [#6546](https://github.com/apache/apisix/pull/6546) +- :sunrise: feat: support post_logout_redirect_uri config in openid-connect plugin [#6455](https://github.com/apache/apisix/pull/6455) +- :sunrise: feat: mocking plugin [#5940](https://github.com/apache/apisix/pull/5940) +- :sunrise: feat(error-log-logger): add clickhouse for error-log-logger [#6256](https://github.com/apache/apisix/pull/6256) +- :sunrise: feat: clickhouse logger [#6215](https://github.com/apache/apisix/pull/6215) +- :sunrise: feat(grpc-transcode): support .pb file [#6264](https://github.com/apache/apisix/pull/6264) +- :sunrise: feat: development of Loggly logging plugin [#6113](https://github.com/apache/apisix/pull/6113) +- :sunrise: feat: add opentelemetry plugin [#6119](https://github.com/apache/apisix/pull/6119) +- :sunrise: feat: add public api plugin
[GitHub] [apisix] loseself commented on issue #6702: How to register and use custom variable?
loseself commented on issue #6702: URL: https://github.com/apache/apisix/issues/6702#issuecomment-1078631916 How to destroy -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] juzhiyuan closed issue #719: support Events generation automatically
juzhiyuan closed issue #719: URL: https://github.com/apache/apisix-website/issues/719 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #6694: bug: using DNS discovery SRV and CHash algorithm can't work like node upstream type
tzssangglass commented on issue #6694: URL: https://github.com/apache/apisix/issues/6694#issuecomment-1078623920 Here are my reproduction steps: 1. start DNS server execute this script https://github.com/apache/apisix/blob/master/utils/set-dns.sh 2. verify SRV records ```shell $ dig port.srv.test.local @127.0.0.1 -p 1053 -t srv ; <<>> DiG 9.10.6 <<>> port.srv.test.local @127.0.0.1 -p 1053 -t srv ;; global options: +cmd ;; Got answer: ;; WARNING: .local is reserved for Multicast DNS ;; You are currently testing what happens when an mDNS query is leaked to DNS ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9039 ;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;port.srv.test.local. IN SRV ;; ANSWER SECTION: port.srv.test.local.86400 IN SRV 10 60 1980 a.test.local. port.srv.test.local.86400 IN SRV 10 20 1981 b.test.local. ;; AUTHORITY SECTION: test.local. 3600IN NS a.iana-servers.net. test.local. 3600IN NS b.iana-servers.net. ;; ADDITIONAL SECTION: a.test.local. 1 IN A 127.0.0.1 b.test.local. 1 IN A 127.0.0.2 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#1053(127.0.0.1) ;; WHEN: Fri Mar 25 11:38:48 CST 2022 ;; MSG SIZE rcvd: 290 ``` 3. test cases ``` use t::APISIX 'no_plan'; repeat_each(1); worker_connections(1024); no_root_location(); no_shuffle(); add_block_preprocessor(sub { my ($block) = @_; if (!$block->request) { $block->set_value("request", "GET /t"); } if ((!defined $block->error_log) && (!defined $block->no_error_log)) { $block->set_value("no_error_log", "[error]"); } }); run_tests(); __DATA__ === TEST 1: add route --- config location /t { content_by_lua_block { local t = require("lib.test_admin").test local code, body = t('/apisix/admin/routes/1', ngx.HTTP_PUT, [[{ "upstream": { "service_name": "port.srv.test.local", "discovery_type": "dns", "type": "chash", "key": "arg_device_id" }, "uri": "/echo" }]] ) if code >= 300 then ngx.status = code end ngx.say(body) } } --- response_body passed === TEST 2: proxy request to upstream(127.0.0.1:1980) by chash key(device_id=1) --- yaml_config discovery: dns: servers: - "127.0.0.1:1053" --- config location /t { content_by_lua_block { local http = require "resty.http" local t = {} local ids = {} for i = 1, 180 do local th = assert(ngx.thread.spawn(function() local httpc = http.new() local uri = "http://127.0.0.1:; .. ngx.var.server_port .. "/echo?device_id=1" local res, err = httpc:request_uri(uri, { method = "GET", headers = { ["Content-Type"] = "application/json", } } ) if not res then ngx.log(ngx.ERR, err) return end end, i)) table.insert(t, th) end for i, th in ipairs(t) do ngx.thread.wait(th) end ngx.say("true") } } --- wait: 5 --- response_body true --- no_error_log proxy request to 127.0.0.2:1981 === TEST 3: proxy request to upstream(127.0.0.2:1981) by chash key(device_id=gagalgeobeotbhrtnfrnsrt) --- yaml_config discovery: dns: servers: - "127.0.0.1:1053" --- config location /t { content_by_lua_block { local http = require "resty.http" local t = {} local ids = {} for i = 1, 180 do local th = assert(ngx.thread.spawn(function() local httpc = http.new() local uri = "http://127.0.0.1:; .. ngx.var.server_port .. "/echo?device_id=gagalgeobeotbhrtnfrnsrt"
[GitHub] [apisix] loseself commented on issue #6702: How to register and use custom variable?
loseself commented on issue #6702: URL: https://github.com/apache/apisix/issues/6702#issuecomment-1078622899 thanks -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] SkyeYoung commented on issue #2354: APISIX Dashboard V3 Discuss
SkyeYoung commented on issue #2354: URL: https://github.com/apache/apisix-dashboard/issues/2354#issuecomment-1078622666 Hi, I hope support mock data in frontend. This will support demons and tests without backend. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander opened a new pull request #6717: ci: should check the `>>> master` too
spacewander opened a new pull request #6717: URL: https://github.com/apache/apisix/pull/6717 Avoid resolving part of the conflict. Signed-off-by: spacewander ### Description Fixes # (issue) ### Checklist - [x] I have explained the need for this PR and the problem it solves - [ ] I have explained the changes or the new features added to this PR - [ ] I have added tests corresponding to this change - [ ] I have updated the documentation to reflect this change - [x] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first) -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] netlify[bot] edited a comment on pull request #970: feat: lang detection
netlify[bot] edited a comment on pull request #970: URL: https://github.com/apache/apisix-website/pull/970#issuecomment-1077398855 ### ✅ Deploy Preview for *apache-apisix* ready! | Name | Link | |-|| | Latest commit | 54d2b53484c8aa3dd1ec7785e21aad3791565aca | | Latest deploy log | https://app.netlify.com/sites/apache-apisix/deploys/623d35581540ad000857807d | | Deploy Preview | https://deploy-preview-970--apache-apisix.netlify.app | | Preview on mobile | Toggle QR Code... ![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTk3MC0tYXBhY2hlLWFwaXNpeC5uZXRsaWZ5LmFwcCJ9.n1HnYWWLdA2imrgVUao6ZU2Pv4F3LEJtdPo4HbVTxWU)_Use your smartphone camera to open QR code link._ | --- _To edit notification comments on pull requests, go to your [Netlify site settings](https://app.netlify.com/sites/apache-apisix/settings/deploys#deploy-notifications)._ -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] netlify[bot] edited a comment on pull request #970: feat: lang detection
netlify[bot] edited a comment on pull request #970: URL: https://github.com/apache/apisix-website/pull/970#issuecomment-1077398855 ### Deploy Preview for *apache-apisix* processing. | Name | Link | |-|| | Latest commit | 54d2b53484c8aa3dd1ec7785e21aad3791565aca | | Latest deploy log | https://app.netlify.com/sites/apache-apisix/deploys/623d35581540ad000857807d | -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #935: Is that any way to set the node priority as it do in the admin api?
tao12345666333 commented on issue #935: URL: https://github.com/apache/apisix-ingress-controller/issues/935#issuecomment-1078611800 In fact in Kubernetes, our backends are Pods, and they don't actually make any difference. But we do have a way to do what you need (if you really need it) You can use subset to achieve this. Please refer to https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/features/subset.go -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander closed pull request #6646: feat: release 2.13.0
spacewander closed pull request #6646: URL: https://github.com/apache/apisix/pull/6646 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan merged pull request #2366: docs: fix invalid link
juzhiyuan merged pull request #2366: URL: https://github.com/apache/apisix-dashboard/pull/2366 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-dashboard] branch master updated: docs: fix invalid link (#2366)
This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git The following commit(s) were added to refs/heads/master by this push: new 162c5d7 docs: fix invalid link (#2366) 162c5d7 is described below commit 162c5d7bcdfa36d76681b2a607267bcb76185cc5 Author: Yu.Bozhong AuthorDate: Fri Mar 25 11:08:11 2022 +0800 docs: fix invalid link (#2366) --- docs/en/latest/develop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/latest/develop.md b/docs/en/latest/develop.md index 41c28ab..e35929d 100644 --- a/docs/en/latest/develop.md +++ b/docs/en/latest/develop.md @@ -25,7 +25,7 @@ The Dashboard contains both `manager-api` and `web` parts, so you need to start ## Prerequisites -Before development, refer to this [guide](./deploy.md) to install dependencies. +Before development, refer to this [guide](./install.md) to install dependencies. ## Clone the project
[GitHub] [apisix-helm-chart] PGDream commented on a change in pull request #257: Daemonset
PGDream commented on a change in pull request #257: URL: https://github.com/apache/apisix-helm-chart/pull/257#discussion_r834919329 ## File path: charts/apisix/templates/daemonset.yaml ## @@ -0,0 +1,201 @@ +# +# 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. +{{- if eq .Values.apisix.kind "DaemonSet" }} +{{- if .Values.apisix.enabled }} +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: {{ include "apisix.fullname" . }} + namespace: {{ .Release.Namespace }} + labels: +{{- include "apisix.labels" . | nindent 4 }} +spec: + selector: +matchLabels: + {{- include "apisix.selectorLabels" . | nindent 6 }} + template: +metadata: + annotations: +checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} +{{- with .Values.apisix.podAnnotations }} +{{- toYaml . | nindent 8 }} +{{- end }} + labels: +{{- include "apisix.selectorLabels" . | nindent 8 }} +spec: + {{- with .Values.global.imagePullSecrets }} + imagePullSecrets: +{{- toYaml . | nindent 8 }} + {{- end }} + securityContext: +{{- toYaml .Values.podSecurityContext | nindent 8 }} + containers: +- name: {{ .Chart.Name }} + securityContext: +{{- toYaml .Values.securityContext | nindent 12 }} + image: "{{ .Values.apisix.image.repository }}:{{ .Values.apisix.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.apisix.image.pullPolicy }} + ports: +- name: http + containerPort: {{ .Values.gateway.http.containerPort }} + protocol: TCP +- name: tls + containerPort: {{ .Values.gateway.tls.containerPort }} + protocol: TCP +{{- if .Values.admin.enabled }} +- name: admin + containerPort: {{ .Values.admin.port }} + protocol: TCP +{{- end }} +{{- if .Values.serviceMonitor.enabled }} +- name: prometheus + containerPort: {{ .Values.serviceMonitor.containerPort }} + protocol: TCP +{{- end }} +{{- if and .Values.gateway.stream.enabled (or (gt (len .Values.gateway.stream.tcp) 0) (gt (len .Values.gateway.stream.udp) 0)) }} +{{- with .Values.gateway.stream }} +{{- if (gt (len .tcp) 0) }} +{{- range $index, $port := .tcp }} +- name: proxy-tcp-{{ $index | toString }} + containerPort: {{ $port }} + protocol: TCP +{{- end }} +{{- end }} +{{- if (gt (len .udp) 0) }} +{{- range $index, $port := .udp }} +- name: proxy-udp-{{ $index | toString }} + containerPort: {{ $port }} + protocol: UDP +{{- end }} +{{- end }} +{{- end }} +{{- end }} + readinessProbe: +failureThreshold: 6 +initialDelaySeconds: 10 +periodSeconds: 10 +successThreshold: 1 +tcpSocket: + port: {{ .Values.gateway.http.containerPort }} +timeoutSeconds: 1 + lifecycle: +preStop: + exec: +command: +- /bin/sh +- -c +- "sleep 30" + env: +- name: INTRANET_IP Review comment: sorry, `INTRANET_IP` env with `Prometheus` apisix config.yaml: ``` prometheus: export_addr: ip: "${{INTRANET_IP}}" port: 9092 ``` -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] zhendongcmss edited a comment on issue #6714: bug: error heartbeat www.iresty.com
zhendongcmss edited a comment on issue #6714: URL: https://github.com/apache/apisix/issues/6714#issuecomment-1078604583 It send heartbeat to www.iresty.com every hour from the timestamp. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #934: request help: apisix/cluster.go:343 cluster default now is ready, cost time 608.392498ms
tao12345666333 commented on issue #934: URL: https://github.com/apache/apisix-ingress-controller/issues/934#issuecomment-1078608535 Have you created some custom resources? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] zhendongcmss commented on issue #6714: bug: error heartbeat www.iresty.com
zhendongcmss commented on issue #6714: URL: https://github.com/apache/apisix/issues/6714#issuecomment-1078606276 It is occasional, no fixed time. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] codecov-commenter commented on pull request #2351: chore(deps): bump actions/setup-python from 2.3.2 to 3
codecov-commenter commented on pull request #2351: URL: https://github.com/apache/apisix-dashboard/pull/2351#issuecomment-1078605464 # [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/2351?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation) Report > Merging [#2351](https://codecov.io/gh/apache/apisix-dashboard/pull/2351?src=pr=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation) (16b0b48) into [master](https://codecov.io/gh/apache/apisix-dashboard/commit/2f1ebac19d74264a2bb13f9741b89a2a07e00d46?el=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation) (2f1ebac) will **not change** coverage. > The diff coverage is `n/a`. ```diff @@ Coverage Diff @@ ## master#2351 +/- ## === Coverage 68.57% 68.57% === Files 131 131 Lines3421 3421 Branches 828 828 === Hits 2346 2346 Misses 1075 1075 ``` | Flag | Coverage Δ | | |---|---|---| | frontend-e2e-test | `68.57% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more. -- [Continue to review full report at Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/2351?src=pr=continue_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/2351?src=pr=footer_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation). Last update [94a8933...16b0b48](https://codecov.io/gh/apache/apisix-dashboard/pull/2351?src=pr=lastupdated_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation). -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] codecov-commenter edited a comment on pull request #2349: chore(deps): bump golangci/golangci-lint-action from 2 to 3.1.0
codecov-commenter edited a comment on pull request #2349: URL: https://github.com/apache/apisix-dashboard/pull/2349#issuecomment-1053936793 # [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/2349?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation) Report > Merging [#2349](https://codecov.io/gh/apache/apisix-dashboard/pull/2349?src=pr=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation) (dee576d) into [master](https://codecov.io/gh/apache/apisix-dashboard/commit/2f1ebac19d74264a2bb13f9741b89a2a07e00d46?el=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation) (2f1ebac) will **decrease** coverage by `0.05%`. > The diff coverage is `n/a`. ```diff @@Coverage Diff @@ ## master#2349 +/- ## == - Coverage 68.57% 68.51% -0.06% == Files 131 131 Lines3421 3421 Branches 828 828 == - Hits 2346 2344 -2 - Misses 1075 1077 +2 ``` | Flag | Coverage Δ | | |---|---|---| | frontend-e2e-test | `68.51% <ø> (-0.06%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/apache/apisix-dashboard/pull/2349?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation) | Coverage Δ | | |---|---|---| | [web/src/helpers.tsx](https://codecov.io/gh/apache/apisix-dashboard/pull/2349/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-d2ViL3NyYy9oZWxwZXJzLnRzeA==) | `70.49% <0.00%> (-3.28%)` | :arrow_down: | -- [Continue to review full report at Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/2349?src=pr=continue_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/2349?src=pr=footer_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation). Last update [94a8933...dee576d](https://codecov.io/gh/apache/apisix-dashboard/pull/2349?src=pr=lastupdated_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation). -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] juzhiyuan commented on issue #392: feature request: refine code block copy button behaviour to ignore the leading `$`
juzhiyuan commented on issue #392: URL: https://github.com/apache/apisix-website/issues/392#issuecomment-1078604921 Hi, there is a lot of documentation containing code blocks with `shell` and `output.`, so I will close this issue and cc @hf400159 @navendu-pottekkat to take a look: this is one point on the documentation style guide. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] juzhiyuan closed issue #392: feature request: refine code block copy button behaviour to ignore the leading `$`
juzhiyuan closed issue #392: URL: https://github.com/apache/apisix-website/issues/392 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] SkyeYoung commented on issue #699: support to cache to old versions' documents
SkyeYoung commented on issue #699: URL: https://github.com/apache/apisix-website/issues/699#issuecomment-1078604718 > No, would you like to implement this? It will speed up building time! Please refer to Docusaurus's site, and it only builds recent versions. Ok, let me complete it. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] zhendongcmss commented on issue #6714: bug: error heartbeat www.iresty.com
zhendongcmss commented on issue #6714: URL: https://github.com/apache/apisix/issues/6714#issuecomment-1078604583 It send heartbeat to www.irest.com every hour from the timestamp. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] Chever-John commented on a change in pull request #6616: docs: add datadog document(zh)
Chever-John commented on a change in pull request #6616: URL: https://github.com/apache/apisix/pull/6616#discussion_r834915702 ## File path: docs/zh/latest/plugins/datadog.md ## @@ -0,0 +1,145 @@ +--- +title: datadog +--- + + + +## 简介 + +`datadog` 是 Apache APISIX 内置的监控插件,可与 [Datadog](https://www.datadoghq.com/)(云应用最常用的监控和可观测性平台之一)无缝集成。`datadog` 插件支持对每个请求和响应周期进行多种指标参数的获取,这些指标参数基本反映了系统的行为和健康状况。 + +该插件通过 UDP 协议将其自定义指标推送给 DogStatsD 服务器,该服务器与 Datadog 代理捆绑在一起(关于如何安装 Datadog 代理,请参考[Agent](https://docs.datadoghq.com/agent/) )。DogStatsD 基本上是 StatsD 协议的实现,它将收集到的 Apache APISIX 代理的自定义指标聚合成单个数据点,并发送到设置的 Datadog 服务器上。更多关于 DogStatsD 的信息,请参考 [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/?tab=hostagent) 。 + +`datadog` 插件具有将多个指标组成一个批处理并统一推送给外部 Datadog 代理的能力,并且可以重复使用同一个数据报套接字。如果没有收到日志数据,请耐心等待,它会在批处理程序中的定时器功能到期后自动发送日志。 + +关于 Apache APISIX 的批处理程序的更多信息,请参考 [Batch-Processor](../batch-processor.md#配置) + +## 属性 + +| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述 | +| --- | -- | --- | --- | - | | +| prefer_name | boolean | optional| true | true/false | 如果设置为 "false",将使用路由/服务的 ID,而不是带有度量标签的名称(默认)。 | + +该插件支持使用批处理程序来聚集和处理条目(日志/数据)的批次。这就避免了插件频繁地提交数据,默认情况下,批处理程序每 `5` 秒或当队列中的数据达到 `1000` 时提交数据。有关信息或自定义批处理程序的参数设置,请参阅[批处理程序](../batch-processor.md#configuration) 配置部分。 + +## 元数据 + +| 名称| 类型| 必选项 | 默认值| 有效值 | 描述 | +| --- | -- | --- | --- | - | -- | +| host| string | optional| "127.0.0.1" | | DogStatsD 服务器的主机地址 | +| port| integer | optional|8125| | DogStatsD服务器的主机端口 | +| namespace | string | optional|"apisix"| | 由APISIX代理发送的所有自定义度量的前缀。对寻找指标图的实体很有帮助,例如:(apisix.request.counter)。 | +| constant_tags | array | optional| [ "source:apisix" ] | | 嵌入到生成指标中的静态标签。这对某些信号度量进行分组很有用。 | + +要了解更多关于如何有效地编写标签,请访问[这里](https://docs.datadoghq.com/getting_started/tagging/#defining-tags) + +## 输出指标 + +Apache APISIX 代理,对于每个请求响应周期,如果启用了 datadog 插件,就会向 DogStatsD 服务器输出以下指标。 + +| Metric Name | StatsD Type | Description | +| --- | --- | --- | +| Request Counter | Counter | 收到的请求数量。 | +| Request Latency | Histogram | 处理该请求所需的时间(以毫秒为单位)。 | +| Upstream latency | Histogram | 代理请求到上游服务器直到收到响应所需的时间(以毫秒为单位)。 | +| APISIX Latency| Histogram | APISIX 代理处理该请求的时间(以毫秒为单位)。| +| Ingress Size | Timer | 以字节为单位的请求体大小。 | +| Egress Size | Timer | 以字节为单位的响应体大小。 | + +这些指标将被发送到带有以下标签的 DogStatsD 代理。 + +> 如果一个标签没有合适的值,该标签将被直接省略。 + +- **route_name**:在路由模式定义中指定的名称,如果不存在或插件属性 `prefer_name` 被设置为 `false`,它将回退成路由 id 值。 +- **service_name**:如果一个路由是用服务的抽象概念创建的,特定的服务 name/id(基于插件的 `prefer_name` 属性)将被使用。 +- **consumer**:如果路由有一个链接的消费者,消费者的用户名将被添加为一个标签。 +- **balancer_ip**:处理了当前请求的 Upstream 平衡器的IP。 +- **response_status**:HTTP 响应状态代码。 +- **scheme**:用于提出如 HTTP、gRPC、gRPCs 等请求的 Scheme。 + +## 如何启用 + +本小节介绍了如何为特定路由启用 `datadog` 插件。进行以下操作之前请确认您的 `datadog` 代理已经启动并正常运行。 + +```shell +curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' +{ + "plugins": { +"datadog": {} + }, + "upstream": { + "type": "roundrobin", + "nodes": { + "127.0.0.1:1980": 1 + } + }, + "uri": "/hello" +}' +``` + +现在,任何对 uri `/hello` 的请求都会生成上述指标并推送到 Datadog 代理的DogStatsD 服务器。 + +## 禁用插件 + +删除插件配置中相应的 json 配置以禁用 `datadog`。 +APISIX 插件是支持热加载的,所以不用重新启动 APISIX,配置就能生效。 + +```shell +curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' +{ +"methods": ["GET"], +"uri": "/hello", +"plugins": {}, +"upstream": { +"type": "roundrobin", +"nodes": { +"127.0.0.1:1980": 1 +} +} +}' +``` + +## 自定义配置 + +在默认配置中,该插件希望 dogstatsd 服务在 `127.0.0.1:8125` 可用。如果你想更新配置,请更新插件的元数据。要了解更多关于 datadog 元数据的字段,请参阅[这里](#元数据)。 + +向 _/apisix/admin/plugin_metadata_ 端点发出请求,更新后的元数据如下。 + +```shell +curl http://127.0.0.1:9080/apisix/admin/plugin_metadata/datadog -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' +{ +"host": "172.168.45.29", +"port": 8126, +"constant_tags": [ +"source:apisix", +"service:custom" +], +"namespace": "apisix" +}' +``` + +这个 HTTP PUT 请求将更新元数据,后续指标将通过 UDP
[GitHub] [apisix] zhendongcmss edited a comment on issue #6714: bug: error heartbeat www.iresty.com
zhendongcmss edited a comment on issue #6714: URL: https://github.com/apache/apisix/issues/6714#issuecomment-1078603595 2.10.1 have this issue too. ![image](https://user-images.githubusercontent.com/88528414/160045497-6571e7f5-f639-4f24-81d0-7d1431ff6147.png) -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] zhendongcmss commented on issue #6714: bug: error heartbeat www.iresty.com
zhendongcmss commented on issue #6714: URL: https://github.com/apache/apisix/issues/6714#issuecomment-1078603595 2.10.1 have this issue too. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] SkyeYoung commented on pull request #970: feat: lang detection
SkyeYoung commented on pull request #970: URL: https://github.com/apache/apisix-website/pull/970#issuecomment-1078603221 > Hi, @SkyeYoung. This PR has lots of style changes. How about this? > > 1. You could set up the prettier configuration and format all codes in one PR. > 2. Submit this lang detection PR without extra codes style changes. Ok, I'll rollback it. I'm adding lint tools. :D -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander merged pull request #6715: docs: update external-plugin image
spacewander merged pull request #6715: URL: https://github.com/apache/apisix/pull/6715 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix] branch master updated (78c1aff -> 2878313)
This is an automated email from the ASF dual-hosted git repository. spacewander pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/apisix.git. from 78c1aff docs(zh): fix links to OpenTelemetry specification (#6712) add 2878313 docs: update external-plugin image (#6715) No new revisions were added by this update. Summary of changes: docs/assets/images/external-plugin.png | Bin 617453 -> 330391 bytes 1 file changed, 0 insertions(+), 0 deletions(-)
[GitHub] [apisix] Chever-John commented on a change in pull request #6616: docs: add datadog document(zh)
Chever-John commented on a change in pull request #6616: URL: https://github.com/apache/apisix/pull/6616#discussion_r834914029 ## File path: docs/zh/latest/plugins/datadog.md ## @@ -0,0 +1,145 @@ +--- +title: datadog +--- + + + +## 简介 + +`datadog` 是 Apache APISIX 内置的监控插件,可与 [Datadog](https://www.datadoghq.com/)(云应用最常用的监控和可观测性平台之一)无缝集成。`datadog` 插件支持对每个请求和响应周期进行多种指标参数的获取,这些指标参数基本反映了系统的行为和健康状况。 + +该插件通过 UDP 协议将其自定义指标推送给 DogStatsD 服务器,该服务器与 Datadog 代理捆绑在一起(关于如何安装 Datadog 代理,请参考[Agent](https://docs.datadoghq.com/agent/) )。DogStatsD 基本上是 StatsD 协议的实现,它将收集到的 Apache APISIX 代理的自定义指标聚合成单个数据点,并发送到设置的 Datadog 服务器上。更多关于 DogStatsD 的信息,请参考 [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/?tab=hostagent) 。 + +`datadog` 插件具有将多个指标组成一个批处理并统一推送给外部 Datadog 代理的能力,并且可以重复使用同一个数据报套接字。如果没有收到日志数据,请耐心等待,它会在批处理程序中的定时器功能到期后自动发送日志。 + +关于 Apache APISIX 的批处理程序的更多信息,请参考 [Batch-Processor](../batch-processor.md#配置) + +## 属性 + +| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述 | +| --- | -- | --- | --- | - | | +| prefer_name | boolean | optional| true | true/false | 如果设置为 "false",将使用路由/服务的 ID,而不是带有度量标签的名称(默认)。 | + +该插件支持使用批处理程序来聚集和处理条目(日志/数据)的批次。这就避免了插件频繁地提交数据,默认情况下,批处理程序每 `5` 秒或当队列中的数据达到 `1000` 时提交数据。有关信息或自定义批处理程序的参数设置,请参阅[批处理程序](../batch-processor.md#configuration) 配置部分。 + +## 元数据 + +| 名称| 类型| 必选项 | 默认值| 有效值 | 描述 | +| --- | -- | --- | --- | - | -- | +| host| string | optional| "127.0.0.1" | | DogStatsD 服务器的主机地址 | +| port| integer | optional|8125| | DogStatsD服务器的主机端口 | +| namespace | string | optional|"apisix"| | 由APISIX代理发送的所有自定义度量的前缀。对寻找指标图的实体很有帮助,例如:(apisix.request.counter)。 | +| constant_tags | array | optional| [ "source:apisix" ] | | 嵌入到生成指标中的静态标签。这对某些信号度量进行分组很有用。 | + +要了解更多关于如何有效地编写标签,请访问[这里](https://docs.datadoghq.com/getting_started/tagging/#defining-tags) + +## 输出指标 + +Apache APISIX 代理,对于每个请求响应周期,如果启用了 datadog 插件,就会向 DogStatsD 服务器输出以下指标。 + +| Metric Name | StatsD Type | Description | +| --- | --- | --- | +| Request Counter | Counter | 收到的请求数量。 | +| Request Latency | Histogram | 处理该请求所需的时间(以毫秒为单位)。 | +| Upstream latency | Histogram | 代理请求到上游服务器直到收到响应所需的时间(以毫秒为单位)。 | +| APISIX Latency| Histogram | APISIX 代理处理该请求的时间(以毫秒为单位)。| +| Ingress Size | Timer | 以字节为单位的请求体大小。 | +| Egress Size | Timer | 以字节为单位的响应体大小。 | + +这些指标将被发送到带有以下标签的 DogStatsD 代理。 + +> 如果一个标签没有合适的值,该标签将被直接省略。 + +- **route_name**:在路由模式定义中指定的名称,如果不存在或插件属性 `prefer_name` 被设置为 `false`,它将回退成路由 id 值。 +- **service_name**:如果一个路由是用服务的抽象概念创建的,特定的服务 name/id(基于插件的 `prefer_name` 属性)将被使用。 +- **consumer**:如果路由有一个链接的消费者,消费者的用户名将被添加为一个标签。 +- **balancer_ip**:处理了当前请求的 Upstream 平衡器的IP。 +- **response_status**:HTTP 响应状态代码。 +- **scheme**:用于提出如 HTTP、gRPC、gRPCs 等请求的 Scheme。 + +## 如何启用 + +本小节介绍了如何为特定路由启用 `datadog` 插件。进行以下操作之前请确认您的 `datadog` 代理已经启动并正常运行。 + +```shell +curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' +{ + "plugins": { +"datadog": {} + }, + "upstream": { + "type": "roundrobin", + "nodes": { + "127.0.0.1:1980": 1 + } + }, + "uri": "/hello" +}' +``` + +现在,任何对 uri `/hello` 的请求都会生成上述指标并推送到 Datadog 代理的DogStatsD 服务器。 Review comment: Any more better advice? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] SkyeYoung commented on issue #392: feature request: refine code block copy button behaviour to ignore the leading `$`
SkyeYoung commented on issue #392: URL: https://github.com/apache/apisix-website/issues/392#issuecomment-1078602519 I think we should close this issue, because: 1. If we keep the existing code format, we inevitably need to parse the code. Then we have to change the core code of docusaurus, and this will bring difficulties to subsequent upgrade. 2. If we change the code format, this requires modifying too many documents. In summary, It is unlikely to solve this problem at present. @juzhiyuan WDYT? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] zhendongcmss commented on issue #6714: bug: error heartbeat www.iresty.com
zhendongcmss commented on issue #6714: URL: https://github.com/apache/apisix/issues/6714#issuecomment-1078602476 > Strange. There is no heartbeat.lua in APISIX. I am confused too. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander opened a new pull request #6716: feat: release 2.13.0
spacewander opened a new pull request #6716: URL: https://github.com/apache/apisix/pull/6716 Signed-off-by: spacewander ### Description Fixes 6646 ### Checklist - [x] I have explained the need for this PR and the problem it solves - [ ] I have explained the changes or the new features added to this PR - [ ] I have added tests corresponding to this change - [x] I have updated the documentation to reflect this change - [x] I have verified that this change is backward compatible (If not, please discuss on the [APISIX mailing list](https://github.com/apache/apisix/tree/master#community) first) -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] Chever-John commented on a change in pull request #6616: docs: add datadog document(zh)
Chever-John commented on a change in pull request #6616: URL: https://github.com/apache/apisix/pull/6616#discussion_r834913479 ## File path: docs/zh/latest/plugins/datadog.md ## @@ -0,0 +1,145 @@ +--- +title: datadog +--- + + + +## 简介 + +`datadog` 是 Apache APISIX 内置的监控插件,可与 [Datadog](https://www.datadoghq.com/)(云应用最常用的监控和可观测性平台之一)无缝集成。`datadog` 插件支持对每个请求和响应周期进行多种指标参数的获取,这些指标参数基本反映了系统的行为和健康状况。 + +该插件通过 UDP 协议将其自定义指标推送给 DogStatsD 服务器,该服务器与 Datadog 代理捆绑在一起(关于如何安装 Datadog 代理,请参考[Agent](https://docs.datadoghq.com/agent/) )。DogStatsD 基本上是 StatsD 协议的实现,它将收集到的 Apache APISIX 代理的自定义指标聚合成单个数据点,并发送到设置的 Datadog 服务器上。更多关于 DogStatsD 的信息,请参考 [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/?tab=hostagent) 。 + +`datadog` 插件具有将多个指标组成一个批处理并统一推送给外部 Datadog 代理的能力,并且可以重复使用同一个数据报套接字。如果没有收到日志数据,请耐心等待,它会在批处理程序中的定时器功能到期后自动发送日志。 + +关于 Apache APISIX 的批处理程序的更多信息,请参考 [Batch-Processor](../batch-processor.md#配置) + +## 属性 + +| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述 | +| --- | -- | --- | --- | - | | +| prefer_name | boolean | optional| true | true/false | 如果设置为 "false",将使用路由/服务的 ID,而不是带有度量标签的名称(默认)。 | + +该插件支持使用批处理程序来聚集和处理条目(日志/数据)的批次。这就避免了插件频繁地提交数据,默认情况下,批处理程序每 `5` 秒或当队列中的数据达到 `1000` 时提交数据。有关信息或自定义批处理程序的参数设置,请参阅[批处理程序](../batch-processor.md#configuration) 配置部分。 + +## 元数据 + +| 名称| 类型| 必选项 | 默认值| 有效值 | 描述 | +| --- | -- | --- | --- | - | -- | +| host| string | optional| "127.0.0.1" | | DogStatsD 服务器的主机地址 | +| port| integer | optional|8125| | DogStatsD服务器的主机端口 | +| namespace | string | optional|"apisix"| | 由APISIX代理发送的所有自定义度量的前缀。对寻找指标图的实体很有帮助,例如:(apisix.request.counter)。 | +| constant_tags | array | optional| [ "source:apisix" ] | | 嵌入到生成指标中的静态标签。这对某些信号度量进行分组很有用。 | + +要了解更多关于如何有效地编写标签,请访问[这里](https://docs.datadoghq.com/getting_started/tagging/#defining-tags) + +## 输出指标 + +Apache APISIX 代理,对于每个请求响应周期,如果启用了 datadog 插件,就会向 DogStatsD 服务器输出以下指标。 + +| Metric Name | StatsD Type | Description | +| --- | --- | --- | +| Request Counter | Counter | 收到的请求数量。 | +| Request Latency | Histogram | 处理该请求所需的时间(以毫秒为单位)。 | +| Upstream latency | Histogram | 代理请求到上游服务器直到收到响应所需的时间(以毫秒为单位)。 | +| APISIX Latency| Histogram | APISIX 代理处理该请求的时间(以毫秒为单位)。| +| Ingress Size | Timer | 以字节为单位的请求体大小。 | +| Egress Size | Timer | 以字节为单位的响应体大小。 | + +这些指标将被发送到带有以下标签的 DogStatsD 代理。 + +> 如果一个标签没有合适的值,该标签将被直接省略。 + +- **route_name**:在路由模式定义中指定的名称,如果不存在或插件属性 `prefer_name` 被设置为 `false`,它将回退成路由 id 值。 +- **service_name**:如果一个路由是用服务的抽象概念创建的,特定的服务 name/id(基于插件的 `prefer_name` 属性)将被使用。 +- **consumer**:如果路由有一个链接的消费者,消费者的用户名将被添加为一个标签。 +- **balancer_ip**:处理了当前请求的 Upstream 平衡器的IP。 +- **response_status**:HTTP 响应状态代码。 +- **scheme**:用于提出如 HTTP、gRPC、gRPCs 等请求的 Scheme。 Review comment: Solved. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] Chever-John commented on a change in pull request #6616: docs: add datadog document(zh)
Chever-John commented on a change in pull request #6616: URL: https://github.com/apache/apisix/pull/6616#discussion_r834913263 ## File path: docs/zh/latest/plugins/datadog.md ## @@ -0,0 +1,145 @@ +--- +title: datadog +--- + + + +## 简介 + +`datadog` 是 Apache APISIX 内置的监控插件,可与 [Datadog](https://www.datadoghq.com/)(云应用最常用的监控和可观测性平台之一)无缝集成。`datadog` 插件支持对每个请求和响应周期进行多种指标参数的获取,这些指标参数基本反映了系统的行为和健康状况。 + +该插件通过 UDP 协议将其自定义指标推送给 DogStatsD 服务器,该服务器与 Datadog 代理捆绑在一起(关于如何安装 Datadog 代理,请参考[Agent](https://docs.datadoghq.com/agent/) )。DogStatsD 基本上是 StatsD 协议的实现,它将收集到的 Apache APISIX 代理的自定义指标聚合成单个数据点,并发送到设置的 Datadog 服务器上。更多关于 DogStatsD 的信息,请参考 [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/?tab=hostagent) 。 + +`datadog` 插件具有将多个指标组成一个批处理并统一推送给外部 Datadog 代理的能力,并且可以重复使用同一个数据报套接字。如果没有收到日志数据,请耐心等待,它会在批处理程序中的定时器功能到期后自动发送日志。 + +关于 Apache APISIX 的批处理程序的更多信息,请参考 [Batch-Processor](../batch-processor.md#配置) + +## 属性 + +| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述 | +| --- | -- | --- | --- | - | | +| prefer_name | boolean | optional| true | true/false | 如果设置为 "false",将使用路由/服务的 ID,而不是带有度量标签的名称(默认)。 | + +该插件支持使用批处理程序来聚集和处理条目(日志/数据)的批次。这就避免了插件频繁地提交数据,默认情况下,批处理程序每 `5` 秒或当队列中的数据达到 `1000` 时提交数据。有关信息或自定义批处理程序的参数设置,请参阅[批处理程序](../batch-processor.md#configuration) 配置部分。 + +## 元数据 + +| 名称| 类型| 必选项 | 默认值| 有效值 | 描述 | +| --- | -- | --- | --- | - | -- | +| host| string | optional| "127.0.0.1" | | DogStatsD 服务器的主机地址 | +| port| integer | optional|8125| | DogStatsD服务器的主机端口 | +| namespace | string | optional|"apisix"| | 由APISIX代理发送的所有自定义度量的前缀。对寻找指标图的实体很有帮助,例如:(apisix.request.counter)。 | +| constant_tags | array | optional| [ "source:apisix" ] | | 嵌入到生成指标中的静态标签。这对某些信号度量进行分组很有用。 | + +要了解更多关于如何有效地编写标签,请访问[这里](https://docs.datadoghq.com/getting_started/tagging/#defining-tags) + +## 输出指标 + +Apache APISIX 代理,对于每个请求响应周期,如果启用了 datadog 插件,就会向 DogStatsD 服务器输出以下指标。 + +| Metric Name | StatsD Type | Description | +| --- | --- | --- | +| Request Counter | Counter | 收到的请求数量。 | +| Request Latency | Histogram | 处理该请求所需的时间(以毫秒为单位)。 | +| Upstream latency | Histogram | 代理请求到上游服务器直到收到响应所需的时间(以毫秒为单位)。 | +| APISIX Latency| Histogram | APISIX 代理处理该请求的时间(以毫秒为单位)。| +| Ingress Size | Timer | 以字节为单位的请求体大小。 | +| Egress Size | Timer | 以字节为单位的响应体大小。 | + +这些指标将被发送到带有以下标签的 DogStatsD 代理。 + +> 如果一个标签没有合适的值,该标签将被直接省略。 + +- **route_name**:在路由模式定义中指定的名称,如果不存在或插件属性 `prefer_name` 被设置为 `false`,它将回退成路由 id 值。 +- **service_name**:如果一个路由是用服务的抽象概念创建的,特定的服务 name/id(基于插件的 `prefer_name` 属性)将被使用。 +- **consumer**:如果路由有一个链接的消费者,消费者的用户名将被添加为一个标签。 Review comment: This is how it should be translated. ## File path: docs/zh/latest/plugins/datadog.md ## @@ -0,0 +1,145 @@ +--- +title: datadog +--- + + + +## 简介 + +`datadog` 是 Apache APISIX 内置的监控插件,可与 [Datadog](https://www.datadoghq.com/)(云应用最常用的监控和可观测性平台之一)无缝集成。`datadog` 插件支持对每个请求和响应周期进行多种指标参数的获取,这些指标参数基本反映了系统的行为和健康状况。 + +该插件通过 UDP 协议将其自定义指标推送给 DogStatsD 服务器,该服务器与 Datadog 代理捆绑在一起(关于如何安装 Datadog 代理,请参考[Agent](https://docs.datadoghq.com/agent/) )。DogStatsD 基本上是 StatsD 协议的实现,它将收集到的 Apache APISIX 代理的自定义指标聚合成单个数据点,并发送到设置的 Datadog 服务器上。更多关于 DogStatsD 的信息,请参考 [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/?tab=hostagent) 。 + +`datadog` 插件具有将多个指标组成一个批处理并统一推送给外部 Datadog 代理的能力,并且可以重复使用同一个数据报套接字。如果没有收到日志数据,请耐心等待,它会在批处理程序中的定时器功能到期后自动发送日志。 + +关于 Apache APISIX 的批处理程序的更多信息,请参考 [Batch-Processor](../batch-processor.md#配置) + +## 属性 + +| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述 | +| --- | -- | --- | --- | - | | +| prefer_name | boolean | optional| true | true/false | 如果设置为 "false",将使用路由/服务的 ID,而不是带有度量标签的名称(默认)。 | + +该插件支持使用批处理程序来聚集和处理条目(日志/数据)的批次。这就避免了插件频繁地提交数据,默认情况下,批处理程序每 `5` 秒或当队列中的数据达到 `1000` 时提交数据。有关信息或自定义批处理程序的参数设置,请参阅[批处理程序](../batch-processor.md#configuration) 配置部分。 + +## 元数据 + +| 名称| 类型| 必选项 | 默认值| 有效值 | 描述
[GitHub] [apisix-website] juzhiyuan commented on issue #699: support to cache to old versions' documents
juzhiyuan commented on issue #699: URL: https://github.com/apache/apisix-website/issues/699#issuecomment-1078600896 No, would you like to implement this? It will speed up building time! Please refer to Docusaurus's site, and it only builds recent versions. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] Chever-John commented on a change in pull request #6616: docs: add datadog document(zh)
Chever-John commented on a change in pull request #6616: URL: https://github.com/apache/apisix/pull/6616#discussion_r834912220 ## File path: docs/zh/latest/plugins/datadog.md ## @@ -0,0 +1,145 @@ +--- +title: datadog +--- + + + +## 简介 + +`datadog` 是 Apache APISIX 内置的监控插件,可与 [Datadog](https://www.datadoghq.com/)(云应用最常用的监控和可观测性平台之一)无缝集成。`datadog` 插件支持对每个请求和响应周期进行多种指标参数的获取,这些指标参数基本反映了系统的行为和健康状况。 + +该插件通过 UDP 协议将其自定义指标推送给 DogStatsD 服务器,该服务器与 Datadog 代理捆绑在一起(关于如何安装 Datadog 代理,请参考[Agent](https://docs.datadoghq.com/agent/) )。DogStatsD 基本上是 StatsD 协议的实现,它将收集到的 Apache APISIX 代理的自定义指标聚合成单个数据点,并发送到设置的 Datadog 服务器上。更多关于 DogStatsD 的信息,请参考 [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/?tab=hostagent) 。 + +`datadog` 插件具有将多个指标组成一个批处理并统一推送给外部 Datadog 代理的能力,并且可以重复使用同一个数据报套接字。如果没有收到日志数据,请耐心等待,它会在批处理程序中的定时器功能到期后自动发送日志。 + +关于 Apache APISIX 的批处理程序的更多信息,请参考 [Batch-Processor](../batch-processor.md#配置) + +## 属性 + +| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述 | +| --- | -- | --- | --- | - | | +| prefer_name | boolean | optional| true | true/false | 如果设置为 "false",将使用路由/服务的 ID,而不是带有度量标签的名称(默认)。 | + +该插件支持使用批处理程序来聚集和处理条目(日志/数据)的批次。这就避免了插件频繁地提交数据,默认情况下,批处理程序每 `5` 秒或当队列中的数据达到 `1000` 时提交数据。有关信息或自定义批处理程序的参数设置,请参阅[批处理程序](../batch-processor.md#configuration) 配置部分。 + +## 元数据 + +| 名称| 类型| 必选项 | 默认值| 有效值 | 描述 | +| --- | -- | --- | --- | - | -- | +| host| string | optional| "127.0.0.1" | | DogStatsD 服务器的主机地址 | +| port| integer | optional|8125| | DogStatsD服务器的主机端口 | +| namespace | string | optional|"apisix"| | 由APISIX代理发送的所有自定义度量的前缀。对寻找指标图的实体很有帮助,例如:(apisix.request.counter)。 | +| constant_tags | array | optional| [ "source:apisix" ] | | 嵌入到生成指标中的静态标签。这对某些信号度量进行分组很有用。 | + +要了解更多关于如何有效地编写标签,请访问[这里](https://docs.datadoghq.com/getting_started/tagging/#defining-tags) + +## 输出指标 + +Apache APISIX 代理,对于每个请求响应周期,如果启用了 datadog 插件,就会向 DogStatsD 服务器输出以下指标。 + +| Metric Name | StatsD Type | Description | +| --- | --- | --- | +| Request Counter | Counter | 收到的请求数量。 | +| Request Latency | Histogram | 处理该请求所需的时间(以毫秒为单位)。 | +| Upstream latency | Histogram | 代理请求到上游服务器直到收到响应所需的时间(以毫秒为单位)。 | +| APISIX Latency| Histogram | APISIX 代理处理该请求的时间(以毫秒为单位)。| +| Ingress Size | Timer | 以字节为单位的请求体大小。 | +| Egress Size | Timer | 以字节为单位的响应体大小。 | + +这些指标将被发送到带有以下标签的 DogStatsD 代理。 + +> 如果一个标签没有合适的值,该标签将被直接省略。 + +- **route_name**:在路由模式定义中指定的名称,如果不存在或插件属性 `prefer_name` 被设置为 `false`,它将回退成路由 id 值。 Review comment: Solved. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] Chever-John commented on a change in pull request #6616: docs: add datadog document(zh)
Chever-John commented on a change in pull request #6616: URL: https://github.com/apache/apisix/pull/6616#discussion_r834912122 ## File path: docs/zh/latest/plugins/datadog.md ## @@ -0,0 +1,145 @@ +--- +title: datadog +--- + + + +## 简介 + +`datadog` 是 Apache APISIX 内置的监控插件,可与 [Datadog](https://www.datadoghq.com/)(云应用最常用的监控和可观测性平台之一)无缝集成。`datadog` 插件支持对每个请求和响应周期进行多种指标参数的获取,这些指标参数基本反映了系统的行为和健康状况。 + +该插件通过 UDP 协议将其自定义指标推送给 DogStatsD 服务器,该服务器与 Datadog 代理捆绑在一起(关于如何安装 Datadog 代理,请参考[Agent](https://docs.datadoghq.com/agent/) )。DogStatsD 基本上是 StatsD 协议的实现,它将收集到的 Apache APISIX 代理的自定义指标聚合成单个数据点,并发送到设置的 Datadog 服务器上。更多关于 DogStatsD 的信息,请参考 [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/?tab=hostagent) 。 + +`datadog` 插件具有将多个指标组成一个批处理并统一推送给外部 Datadog 代理的能力,并且可以重复使用同一个数据报套接字。如果没有收到日志数据,请耐心等待,它会在批处理程序中的定时器功能到期后自动发送日志。 + +关于 Apache APISIX 的批处理程序的更多信息,请参考 [Batch-Processor](../batch-processor.md#配置) + +## 属性 + +| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述 | +| --- | -- | --- | --- | - | | +| prefer_name | boolean | optional| true | true/false | 如果设置为 "false",将使用路由/服务的 ID,而不是带有度量标签的名称(默认)。 | Review comment: Solved. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] juzhiyuan commented on a change in pull request #971: docs: add events page to track our events
juzhiyuan commented on a change in pull request #971: URL: https://github.com/apache/apisix-website/pull/971#discussion_r834912037 ## File path: website/config/navbar.js ## @@ -78,6 +78,10 @@ module.exports = [ to: "/docs/general/community", label: "Community" }, + { +to: "/docs/general/events", +label: "Events" + }, Review comment: After a quick confirmation with @guoqqqi, Qi means why we need to put the `Events` and `Community` menu in the same category dropdown, bcoz when users visit Community, they will also notice Events. We think it's ok to keep the current state. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] SkyeYoung commented on issue #392: feature request: refine code block copy button behaviour to ignore the leading `$`
SkyeYoung commented on issue #392: URL: https://github.com/apache/apisix-website/issues/392#issuecomment-1078599271 @juzhiyuan in fact it's not easy to copy but ignore the `$`. We need parse the code, or use a different structure. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] Baoyuantop commented on issue #2355: CRD方式导入的证书无法显示拓展证书的所有域名
Baoyuantop commented on issue #2355: URL: https://github.com/apache/apisix-dashboard/issues/2355#issuecomment-1078599199 OK let me check. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] moonming commented on issue #6714: bug: error heartbeat www.iresty.com
moonming commented on issue #6714: URL: https://github.com/apache/apisix/issues/6714#issuecomment-1078599147 there is no heartbeat in Apache APISIX -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] moonming commented on issue #6714: bug: error heartbeat www.iresty.com
moonming commented on issue #6714: URL: https://github.com/apache/apisix/issues/6714#issuecomment-1078598998 we can remove all iresty.com now. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] juzhiyuan commented on issue #392: feature request: refine code block copy button behaviour to ignore the leading `$`
juzhiyuan commented on issue #392: URL: https://github.com/apache/apisix-website/issues/392#issuecomment-1078598368 > Any update here? It's been a long time. Would you like to take this one? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on a change in pull request #933: doc: add doc about installing apisix ingress with kind
tao12345666333 commented on a change in pull request #933: URL: https://github.com/apache/apisix-ingress-controller/pull/933#discussion_r834908512 ## File path: docs/en/latest/deployments/kind.md ## @@ -0,0 +1,83 @@ +--- +title: Install Ingress APISIX on Kind Review comment: on -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-dashboard] branch dependabot/github_actions/golangci/golangci-lint-action-3.1.0 updated (b8838be -> dee576d)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/github_actions/golangci/golangci-lint-action-3.1.0 in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git. omit b8838be chore(deps): bump golangci/golangci-lint-action from 2 to 3.1.0 add 9d99ab7 feat: basic support Apache APISIX 2.12.1 (#2315) add 2aadeff chore: Extract paging related functions into standalone hook (#2334) add 6367ffd feat: support protobuf on Web (#2320) add 561ed37 chore: modify the select upstream field to upstream (#2344) add 4e72d92 fix: ! (reverse) operator not handled correctly (#2364) add 7c5eced feat: improve Consumer module (#2327) add eb51353 feat: add data loader framework (#2371) add 2c563dc feat: release 2.11.0 (#2361) add edca223 feat: add security header (#2341) add 109d1cc fix: format error in changelog (#2378) add bc13bb9 fix: caller location error in logs (#2367) add edeed6b feat: storage grafana path in to etcd (#2362) add a7e700a fix(import routes): merge route when route have the same name (#2330) add 2f1ebac chore(deps): bump actions/setup-go from 2.1.5 to 3 (#2352) add f5bda38 chore(deps): bump actions/setup-node from 2.5.1 to 3 (#2350) add 94a8933 chore(deps): bump actions/checkout from 2 to 3 (#2356) add dee576d chore(deps): bump golangci/golangci-lint-action from 2 to 3.1.0 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (b8838be) \ N -- N -- N refs/heads/dependabot/github_actions/golangci/golangci-lint-action-3.1.0 (dee576d) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .github/workflows/auto-build-rpm.yml |2 +- .github/workflows/backend-cli-test.yml |2 +- .github/workflows/backend-e2e-test.yml |8 +- .github/workflows/backend-unit-test.yml|4 +- .github/workflows/codeql-analysis.yml |2 +- .github/workflows/deploy-with-docker.yml |2 +- .github/workflows/frontend-e2e-test.yml|6 +- .github/workflows/frontend-plugin-e2e-test.yml |6 +- .github/workflows/gitleaks.yml |2 +- .github/workflows/go-lint.yml |6 +- .github/workflows/license-checker.yml |2 +- .github/workflows/lint.yml | 10 +- .github/workflows/make-build.yaml |6 +- .github/workflows/release-test.yml |4 +- .../test-frontend-multiple-node-build.yml |4 +- CHANGELOG.md | 30 + README.md |2 +- api/VERSION|2 +- api/conf/conf.yaml |8 + api/conf/schema.json | 1098 ++-- api/go.mod |1 - api/go.sum |3 - api/internal/conf/conf.go | 35 + api/internal/core/entity/entity.go |9 + api/internal/core/store/storehub.go| 13 + api/internal/filter/cors.go| 33 +- api/internal/handler/data_loader/loader/loader.go | 44 + api/internal/handler/data_loader/route_export.go |4 + api/internal/handler/data_loader/route_import.go | 36 +- .../handler/system_config/system_config.go | 132 +++ .../handler/system_config/system_config_test.go| 258 + api/internal/log/zap.go|4 +- api/internal/route.go |4 +- api/internal/utils/utils.go| 16 + api/test/e2e/route_import_test.go | 134 +++ api/test/e2enew/go.mod | 32 - api/test/e2enew/go.sum |2 - api/test/e2enew/route/route_export_test.go | 16 + api/test/e2enew/schema/schema_test.go | 11 +- .../system_config_suite_test.go} | 11 +- .../system_config_test.go} | 146 ++- api/test/shell/cli_test.sh | 29 + docs/en/latest/config.json |2 +-
[apisix-dashboard] branch master updated (f5bda38 -> 94a8933)
This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git. from f5bda38 chore(deps): bump actions/setup-node from 2.5.1 to 3 (#2350) add 94a8933 chore(deps): bump actions/checkout from 2 to 3 (#2356) No new revisions were added by this update. Summary of changes: .github/workflows/auto-build-rpm.yml| 2 +- .github/workflows/backend-cli-test.yml | 2 +- .github/workflows/backend-e2e-test.yml | 4 ++-- .github/workflows/backend-unit-test.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/deploy-with-docker.yml| 2 +- .github/workflows/frontend-e2e-test.yml | 2 +- .github/workflows/frontend-plugin-e2e-test.yml | 2 +- .github/workflows/gitleaks.yml | 2 +- .github/workflows/go-lint.yml | 4 ++-- .github/workflows/license-checker.yml | 2 +- .github/workflows/lint.yml | 8 .github/workflows/make-build.yaml | 2 +- .github/workflows/release-test.yml | 2 +- .github/workflows/test-frontend-multiple-node-build.yml | 2 +- 15 files changed, 20 insertions(+), 20 deletions(-)
[apisix-dashboard] branch dependabot/github_actions/actions/setup-python-3 updated (3ea76c8 -> 16b0b48)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/github_actions/actions/setup-python-3 in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git. omit 3ea76c8 chore(deps): bump actions/setup-python from 2.3.2 to 3 add 9d99ab7 feat: basic support Apache APISIX 2.12.1 (#2315) add 2aadeff chore: Extract paging related functions into standalone hook (#2334) add 6367ffd feat: support protobuf on Web (#2320) add 561ed37 chore: modify the select upstream field to upstream (#2344) add 4e72d92 fix: ! (reverse) operator not handled correctly (#2364) add 7c5eced feat: improve Consumer module (#2327) add eb51353 feat: add data loader framework (#2371) add 2c563dc feat: release 2.11.0 (#2361) add edca223 feat: add security header (#2341) add 109d1cc fix: format error in changelog (#2378) add bc13bb9 fix: caller location error in logs (#2367) add edeed6b feat: storage grafana path in to etcd (#2362) add a7e700a fix(import routes): merge route when route have the same name (#2330) add 2f1ebac chore(deps): bump actions/setup-go from 2.1.5 to 3 (#2352) add f5bda38 chore(deps): bump actions/setup-node from 2.5.1 to 3 (#2350) add 94a8933 chore(deps): bump actions/checkout from 2 to 3 (#2356) add 16b0b48 chore(deps): bump actions/setup-python from 2.3.2 to 3 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (3ea76c8) \ N -- N -- N refs/heads/dependabot/github_actions/actions/setup-python-3 (16b0b48) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .github/workflows/auto-build-rpm.yml |2 +- .github/workflows/backend-cli-test.yml |2 +- .github/workflows/backend-e2e-test.yml |8 +- .github/workflows/backend-unit-test.yml|4 +- .github/workflows/codeql-analysis.yml |2 +- .github/workflows/deploy-with-docker.yml |2 +- .github/workflows/frontend-e2e-test.yml|6 +- .github/workflows/frontend-plugin-e2e-test.yml |6 +- .github/workflows/gitleaks.yml |2 +- .github/workflows/go-lint.yml |6 +- .github/workflows/license-checker.yml |2 +- .github/workflows/lint.yml | 10 +- .github/workflows/make-build.yaml |6 +- .github/workflows/release-test.yml |4 +- .../test-frontend-multiple-node-build.yml |4 +- CHANGELOG.md | 30 + README.md |2 +- api/VERSION|2 +- api/conf/conf.yaml |8 + api/conf/schema.json | 1098 ++-- api/go.mod |1 - api/go.sum |3 - api/internal/conf/conf.go | 35 + api/internal/core/entity/entity.go |9 + api/internal/core/store/storehub.go| 13 + api/internal/filter/cors.go| 33 +- api/internal/handler/data_loader/loader/loader.go | 44 + api/internal/handler/data_loader/route_export.go |4 + api/internal/handler/data_loader/route_import.go | 36 +- .../handler/system_config/system_config.go | 132 +++ .../handler/system_config/system_config_test.go| 258 + api/internal/log/zap.go|4 +- api/internal/route.go |4 +- api/internal/utils/utils.go| 16 + api/test/e2e/route_import_test.go | 134 +++ api/test/e2enew/go.mod | 32 - api/test/e2enew/go.sum |2 - api/test/e2enew/route/route_export_test.go | 16 + api/test/e2enew/schema/schema_test.go | 11 +- .../system_config_suite_test.go} | 11 +- .../system_config_test.go} | 146 ++- api/test/shell/cli_test.sh | 29 + docs/en/latest/config.json |2 +- docs/en/latest/develop.md |2 +-
[GitHub] [apisix-dashboard] juzhiyuan merged pull request #2356: chore(deps): bump actions/checkout from 2 to 3
juzhiyuan merged pull request #2356: URL: https://github.com/apache/apisix-dashboard/pull/2356 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan merged pull request #2350: chore(deps): bump actions/setup-node from 2.5.1 to 3
juzhiyuan merged pull request #2350: URL: https://github.com/apache/apisix-dashboard/pull/2350 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-dashboard] branch master updated (2f1ebac -> f5bda38)
This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git. from 2f1ebac chore(deps): bump actions/setup-go from 2.1.5 to 3 (#2352) add f5bda38 chore(deps): bump actions/setup-node from 2.5.1 to 3 (#2350) No new revisions were added by this update. Summary of changes: .github/workflows/frontend-e2e-test.yml | 2 +- .github/workflows/frontend-plugin-e2e-test.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/make-build.yaml | 2 +- .github/workflows/test-frontend-multiple-node-build.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
[GitHub] [apisix-dashboard] juzhiyuan merged pull request #2352: chore(deps): bump actions/setup-go from 2.1.5 to 3
juzhiyuan merged pull request #2352: URL: https://github.com/apache/apisix-dashboard/pull/2352 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-dashboard] branch master updated: chore(deps): bump actions/setup-go from 2.1.5 to 3 (#2352)
This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git The following commit(s) were added to refs/heads/master by this push: new 2f1ebac chore(deps): bump actions/setup-go from 2.1.5 to 3 (#2352) 2f1ebac is described below commit 2f1ebac19d74264a2bb13f9741b89a2a07e00d46 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Fri Mar 25 10:33:41 2022 +0800 chore(deps): bump actions/setup-go from 2.1.5 to 3 (#2352) --- .github/workflows/backend-e2e-test.yml | 4 ++-- .github/workflows/backend-unit-test.yml| 2 +- .github/workflows/frontend-e2e-test.yml| 2 +- .github/workflows/frontend-plugin-e2e-test.yml | 2 +- .github/workflows/go-lint.yml | 2 +- .github/workflows/make-build.yaml | 2 +- .github/workflows/release-test.yml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/backend-e2e-test.yml b/.github/workflows/backend-e2e-test.yml index 37e68aa..7b78606 100644 --- a/.github/workflows/backend-e2e-test.yml +++ b/.github/workflows/backend-e2e-test.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v2 - name: setup go -uses: actions/setup-go@v2.1.5 +uses: actions/setup-go@v3 with: go-version: "1.15" submodules: recursive @@ -115,7 +115,7 @@ jobs: - uses: actions/checkout@v2 - name: setup go -uses: actions/setup-go@v2.1.5 +uses: actions/setup-go@v3 with: go-version: "1.17" diff --git a/.github/workflows/backend-unit-test.yml b/.github/workflows/backend-unit-test.yml index 992e38d..d99d93b 100644 --- a/.github/workflows/backend-unit-test.yml +++ b/.github/workflows/backend-unit-test.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v2 - name: setup go -uses: actions/setup-go@v2.1.5 +uses: actions/setup-go@v3 with: go-version: "1.15" diff --git a/.github/workflows/frontend-e2e-test.yml b/.github/workflows/frontend-e2e-test.yml index b5dc4dc..af8fa66 100644 --- a/.github/workflows/frontend-e2e-test.yml +++ b/.github/workflows/frontend-e2e-test.yml @@ -49,7 +49,7 @@ jobs: cache-dependency-path: web/yarn.lock - name: Setup golang environment -uses: actions/setup-go@v2.1.5 +uses: actions/setup-go@v3 with: go-version: '1.15' diff --git a/.github/workflows/frontend-plugin-e2e-test.yml b/.github/workflows/frontend-plugin-e2e-test.yml index 0cf61f5..55ed9ad 100644 --- a/.github/workflows/frontend-plugin-e2e-test.yml +++ b/.github/workflows/frontend-plugin-e2e-test.yml @@ -47,7 +47,7 @@ jobs: cache-dependency-path: web/yarn.lock - name: Setup golang environment -uses: actions/setup-go@v2.1.5 +uses: actions/setup-go@v3 with: go-version: '1.15' diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml index b72e9b9..af77790 100644 --- a/.github/workflows/go-lint.yml +++ b/.github/workflows/go-lint.yml @@ -31,7 +31,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: setup go -uses: actions/setup-go@v2.1.5 +uses: actions/setup-go@v3 with: go-version: '1.15' diff --git a/.github/workflows/make-build.yaml b/.github/workflows/make-build.yaml index b2e0ca8..5e101f0 100644 --- a/.github/workflows/make-build.yaml +++ b/.github/workflows/make-build.yaml @@ -46,7 +46,7 @@ jobs: cache-dependency-path: web/yarn.lock - name: Setup golang environment -uses: actions/setup-go@v2.1.5 +uses: actions/setup-go@v3 with: go-version: '1.15' diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index 28a6bf2..ad2948e 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/checkout@v2 - name: setup go -uses: actions/setup-go@v2.1.5 +uses: actions/setup-go@v3 with: go-version: '1.15'
[GitHub] [apisix-ingress-controller] juzhiyuan commented on a change in pull request #933: doc: add doc about installing apisix ingress with kind
juzhiyuan commented on a change in pull request #933: URL: https://github.com/apache/apisix-ingress-controller/pull/933#discussion_r834905990 ## File path: docs/en/latest/deployments/kind.md ## @@ -0,0 +1,83 @@ +--- +title: Install Ingress APISIX on Kind Review comment: How about this? ```suggestion title: Install Ingress Controller by Kind ``` `by` or `on`? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] SylviaBABY opened a new pull request #6715: docs: update external-plugin image
SylviaBABY opened a new pull request #6715: URL: https://github.com/apache/apisix/pull/6715 ### Description English doc need an English image, so change one pic in EN -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-docker] 01/01: feat: upgrade APISIX to 2.13.0
This is an automated email from the ASF dual-hosted git repository. leslie pushed a commit to branch release/apisix-2.13.0 in repository https://gitbox.apache.org/repos/asf/apisix-docker.git commit af94086b0390941e9f22cf9dd0f37e20234faf3c Author: leslie AuthorDate: Fri Mar 25 10:07:11 2022 +0800 feat: upgrade APISIX to 2.13.0 --- .github/workflows/apisix-docker-test.yaml | 2 +- Makefile | 2 +- all-in-one/apisix/Dockerfile | 2 +- alpine/Dockerfile | 2 +- centos/Dockerfile | 2 +- example/docker-compose-arm64.yml | 2 +- example/docker-compose.yml| 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/apisix-docker-test.yaml b/.github/workflows/apisix-docker-test.yaml index a598b93..ffaac67 100644 --- a/.github/workflows/apisix-docker-test.yaml +++ b/.github/workflows/apisix-docker-test.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest env: APISIX_PATH: "./apisix-local" - APISIX_DOCKER_TAG: 2.12.1-${{ matrix.platform }} + APISIX_DOCKER_TAG: 2.13.0-${{ matrix.platform }} steps: - uses: actions/checkout@v2 diff --git a/Makefile b/Makefile index 4f31614..2299e38 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ # APISIX ARGS -APISIX_VERSION ?= 2.12.1 +APISIX_VERSION ?= 2.13.0 IMAGE_NAME = apache/apisix IMAGE_TAR_NAME = apache_apisix diff --git a/all-in-one/apisix/Dockerfile b/all-in-one/apisix/Dockerfile index be76b59..3ecac82 100644 --- a/all-in-one/apisix/Dockerfile +++ b/all-in-one/apisix/Dockerfile @@ -16,7 +16,7 @@ # ARG ENABLE_PROXY=false -ARG APISIX_VERSION=2.12.1 +ARG APISIX_VERSION=2.13.0 ARG ETCD_VERSION=v3.4.14 # Build Apache APISIX diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 02a52f3..2423816 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -20,7 +20,7 @@ ARG ENABLE_PROXY=false # Build Apache APISIX FROM api7/apisix-base:1.19.9.1.4 -ARG APISIX_VERSION=2.12.1 +ARG APISIX_VERSION=2.13.0 LABEL apisix_version="${APISIX_VERSION}" ARG ENABLE_PROXY diff --git a/centos/Dockerfile b/centos/Dockerfile index 817479d..6ce43b0 100644 --- a/centos/Dockerfile +++ b/centos/Dockerfile @@ -17,7 +17,7 @@ FROM centos:7 -ARG APISIX_VERSION=2.12.1 +ARG APISIX_VERSION=2.13.0 LABEL apisix_version="${APISIX_VERSION}" RUN yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm \ diff --git a/example/docker-compose-arm64.yml b/example/docker-compose-arm64.yml index dff001b..69dfbce 100644 --- a/example/docker-compose-arm64.yml +++ b/example/docker-compose-arm64.yml @@ -29,7 +29,7 @@ services: apisix: apisix: -image: apache/apisix:2.12.1-alpine +image: apache/apisix:2.13.0-alpine restart: always volumes: - ./apisix_log:/usr/local/apisix/logs diff --git a/example/docker-compose.yml b/example/docker-compose.yml index f49767e..7c761d5 100644 --- a/example/docker-compose.yml +++ b/example/docker-compose.yml @@ -29,7 +29,7 @@ services: apisix: apisix: -image: apache/apisix:2.12.1-alpine +image: apache/apisix:2.13.0-alpine restart: always volumes: - ./apisix_log:/usr/local/apisix/logs
[apisix-docker] branch release/apisix-2.13.0 created (now af94086)
This is an automated email from the ASF dual-hosted git repository. leslie pushed a change to branch release/apisix-2.13.0 in repository https://gitbox.apache.org/repos/asf/apisix-docker.git. at af94086 feat: upgrade APISIX to 2.13.0 This branch includes the following new commits: new af94086 feat: upgrade APISIX to 2.13.0 The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[GitHub] [apisix] ComradeProgrammer commented on pull request #6382: feat: add auth plugin for casdoor
ComradeProgrammer commented on pull request #6382: URL: https://github.com/apache/apisix/pull/6382#issuecomment-1078583178 Revisions made -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] guoqqqi commented on a change in pull request #971: docs: add events page to track our events
guoqqqi commented on a change in pull request #971: URL: https://github.com/apache/apisix-website/pull/971#discussion_r834898736 ## File path: website/config/navbar.js ## @@ -78,6 +78,10 @@ module.exports = [ to: "/docs/general/community", label: "Community" }, + { +to: "/docs/general/events", +label: "Events" + }, Review comment: ![image](https://user-images.githubusercontent.com/72343596/160040080-654641c0-b9d0-40c3-bf25-700fd53b58df.png) Sorry, I meant that Community and Events are different categories on the same page. So, do we need to add events to the navigation? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #6714: bug: error heartbeat www.iresty.com
spacewander commented on issue #6714: URL: https://github.com/apache/apisix/issues/6714#issuecomment-1078579654 Strange. There is no heartbeat.lua in APISIX. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-ingress-controller] xianshun163 opened a new issue #935: Is that any way to set the node priority as it do in the admin api?
xianshun163 opened a new issue #935: URL: https://github.com/apache/apisix-ingress-controller/issues/935 ### Issue description the function is like the nginx config: upstream server_tomcat1 { server 127.0.0.1:9001 weight=1 max_fails=5 fail_timeout=60s; server 127.0.0.1:9010 weight=1 max_fails=5 fail_timeout=60s backup; } And the apisix admin api doc like below: https://apisix.apache.org/docs/apisix/admin-api Note: Each node can be configured with a priority. A node with low priority will only be used when all the nodes with higher priority have been tried or are unavailable. As the default priority is 0, nodes with negative priority can be configured as a backup. For example: { "uri": "/hello", "upstream": { "type": "roundrobin", "nodes": [ { "host": "127.0.0.1", "port": 1980, "weight": 2000 }, { "host": "127.0.0.1", "port": 1981, "weight": 1, "priority": -1 } ], "checks": { "active": { "http_path": "/status", "healthy": { "interval": 1, "successes": 1 }, "unhealthy": { "interval": 1, "http_failures": 1 } } } } } Node 127.0.0.2 will be used only after 127.0.0.1 is tried or unavailable. It can therefore act as a backup for the node 127.0.0.1. ### Environment - your apisix-ingress-controller version (output of apisix-ingress-controller version --long): - your Kubernetes cluster version (output of kubectl version): - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a): v1.4.0 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] juzhiyuan commented on a change in pull request #971: docs: add events page to track our events
juzhiyuan commented on a change in pull request #971: URL: https://github.com/apache/apisix-website/pull/971#discussion_r834895969 ## File path: website/docs/general/events.md ## @@ -0,0 +1,29 @@ +--- +id: events +title: Events +keywords: + - Events + - Conferences + - Workshops + - Meetups +description: This page provides information about upcoming Apache APISIX's community events where you can track Meetups, Conferences and Workshops. +--- + +## Events Review comment: Hi, bcoz we have the Page Title attribute, how about removing this one? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-website] juzhiyuan commented on a change in pull request #971: docs: add events page to track our events
juzhiyuan commented on a change in pull request #971: URL: https://github.com/apache/apisix-website/pull/971#discussion_r834895595 ## File path: website/config/navbar.js ## @@ -78,6 +78,10 @@ module.exports = [ to: "/docs/general/community", label: "Community" }, + { +to: "/docs/general/events", +label: "Events" + }, Review comment: > each item is usually on a different page? Hi, could you share more details on this? I'm not clear what do you mean -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander merged pull request #6712: docs(zh): fix links to OpenTelemetry specification
spacewander merged pull request #6712: URL: https://github.com/apache/apisix/pull/6712 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix] branch master updated: docs(zh): fix links to OpenTelemetry specification (#6712)
This is an automated email from the ASF dual-hosted git repository. spacewander pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix.git The following commit(s) were added to refs/heads/master by this push: new 78c1aff docs(zh): fix links to OpenTelemetry specification (#6712) 78c1aff is described below commit 78c1aff2e91f3bcf34d4ab414934913d30d3a2b6 Author: Patrice Chalin AuthorDate: Thu Mar 24 21:54:30 2022 -0400 docs(zh): fix links to OpenTelemetry specification (#6712) --- docs/zh/latest/plugins/opentelemetry.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/zh/latest/plugins/opentelemetry.md b/docs/zh/latest/plugins/opentelemetry.md index f13c748..65a286a 100644 --- a/docs/zh/latest/plugins/opentelemetry.md +++ b/docs/zh/latest/plugins/opentelemetry.md @@ -23,9 +23,9 @@ title: opentelemetry ## 描述 -[OpenTelemetry](https://opentelemetry.io/) 提供符合 [opentelemetry specification](https://github.com/open-telemetry/opentelemetry-specification) 协议规范的 Tracing 数据上报。 +[OpenTelemetry](https://opentelemetry.io/) 提供符合 [OpenTelemetry specification](https://opentelemetry.io/docs/reference/specification/) 协议规范的 Tracing 数据上报。 -只支持 `HTTP` 协议,且请求类型为 `application/x-protobuf` 的数据上报,相关协议标准:[OTLP/HTTP Request](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/otlp.md#otlphttp-request)。 +只支持 `HTTP` 协议,且请求类型为 `application/x-protobuf` 的数据上报,相关协议标准:[OTLP/HTTP Request](https://opentelemetry.io/docs/reference/specification/protocol/otlp/#otlphttp-request). ## 属性 @@ -124,7 +124,7 @@ plugin_attr: 当你想禁用一条路由/服务上的 opentelemetry 插件的时候,很简单,在插件的配置中把对应的 JSON 配置删除即可,无须重启服务,即刻生效: -```shell +```console $ curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "methods": ["GET"],
[GitHub] [apisix-ingress-controller] PGDream opened a new issue #934: request help: apisix/cluster.go:343 cluster default now is ready, cost time 608.392498ms
PGDream opened a new issue #934: URL: https://github.com/apache/apisix-ingress-controller/issues/934 ### Issue description i see https://github.com/apache/apisix-ingress-controller/pull/872 merged to master, pull master branch to local and build dockerfile,docker mirrors address: zengqiang/apisix-ingress-controller:1.4.1, `restart install apisix-ingress-controller error log`: ```2022-03-25T09:36:32+08:00 debug apisix/consumer.go:109 try to list consumers in APISIX {"cluster": "default", "url": "http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/consumers"} 2022-03-25T09:36:32+08:00 info gin@v1.7.7/context.go:168 path: /healthz, status: 200, method: GET, query: , ip: 172.20.0.65, user-agent: kube-probe/1.20+, errors: , cost: 35.715µs 2022-03-25T09:36:32+08:00 debug apisix/pluginconfig.go:112 try to list pluginConfig in APISIX {"cluster": "default", "url": "http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/plugin_configs"} 2022-03-25T09:36:32+08:00 info apisix/cluster.go:164 cache synced {"cost_time": "608.299617ms", "cluster": "default"} 2022-03-25T09:36:32+08:00 warn apisix/cluster.go:343 cluster default now is ready, cost time 608.392498ms panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x18a37b6] goroutine 29 [running]: github.com/apache/apisix-ingress-controller/pkg/ingress.(*Controller).newApisixRouteController(0xc0003fe000, 0xcde780) /build/pkg/ingress/apisix_route.go:49 +0x256 github.com/apache/apisix-ingress-controller/pkg/ingress.(*Controller).initWhenStartLeading(0xc0003fe000) /build/pkg/ingress/controller.go:282 +0x12fe github.com/apache/apisix-ingress-controller/pkg/ingress.(*Controller).run(0xc0003fe000, 0x1fd0510, 0xcc7a00) /build/pkg/ingress/controller.go:440 +0x76d created by k8s.io/client-go/tools/leaderelection.(*LeaderElector).Run /go/pkg/mod/k8s.io/client-go@v0.22.4/tools/leaderelection/leaderelection.go:211 +0x11b``` ### Environment - your apisix-ingress-controller version (output of apisix-ingress-controller version --long): - your Kubernetes cluster version (output of kubectl version): - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a): -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] zhendongcmss closed issue #6608: request help: ipv6 client preferentially proxy to ipv6 upstreams and ipv4 preferentially proxy to ipv4 upstream
zhendongcmss closed issue #6608: URL: https://github.com/apache/apisix/issues/6608 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] zhendongcmss opened a new issue #6714: bug: error heartbeat iresty.com
zhendongcmss opened a new issue #6714: URL: https://github.com/apache/apisix/issues/6714 ### Current Behavior Why apisix send heartbeat to www.iresty.com ? I don't find any `www.iresty.com` string on lua code. Does it compile on binary ? ![image](https://user-images.githubusercontent.com/88528414/160038157-480d4605-c2b0-4ff6-b0ee-4c03a211c241.png) ### Expected Behavior _No response_ ### Error Logs _No response_ ### Steps to Reproduce Doesn't config DNS. ### Environment - APISIX version (run `apisix version`): 2.7 - Operating system (run `uname -a`): - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): - APISIX Dashboard version, if relevant: - Plugin runner version, for issues related to plugin runners: - LuaRocks version, for installation issues (run `luarocks --version`): -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] liuning89757 closed issue #6704: help request: Is it possible to add another listen port without breaking the existing long-running connections?
liuning89757 closed issue #6704: URL: https://github.com/apache/apisix/issues/6704 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] liuning89757 commented on issue #6704: help request: Is it possible to add another listen port without breaking the existing long-running connections?
liuning89757 commented on issue #6704: URL: https://github.com/apache/apisix/issues/6704#issuecomment-1078572737 ok, thanks for the reply. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-docker] branch release/apisix-dashboard-2.11.0 created (now 4e2a7d1)
This is an automated email from the ASF dual-hosted git repository. bzp2010 pushed a change to branch release/apisix-dashboard-2.11.0 in repository https://gitbox.apache.org/repos/asf/apisix-docker.git. at 4e2a7d1 feat: bump dashboard to 2.11.0 (#293) No new revisions were added by this update.
[GitHub] [apisix-website] guoqqqi commented on a change in pull request #971: docs: add events page to track our events
guoqqqi commented on a change in pull request #971: URL: https://github.com/apache/apisix-website/pull/971#discussion_r834881490 ## File path: website/config/navbar.js ## @@ -78,6 +78,10 @@ module.exports = [ to: "/docs/general/community", label: "Community" }, + { +to: "/docs/general/events", +label: "Events" + }, Review comment: Is it necessary to put Events in the navigation, where each item is usually on a different page? 樂 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] Baoyuantop commented on a change in pull request #2393: feat: Adding view buttons to the plugin-template page
Baoyuantop commented on a change in pull request #2393: URL: https://github.com/apache/apisix-dashboard/pull/2393#discussion_r834880695 ## File path: web/src/pages/PluginTemplate/List.tsx ## @@ -162,6 +180,21 @@ const Page: React.FC = () => { , ]} /> + { + setVisible(false); +}} +onSubmit={(data: any) => { + (editorMode === 'create' ? create(data) : update(id, data)).then(() => { +setVisible(false); Review comment: Do we need a message alert? ## File path: web/cypress/integration/pluginTemplate/create-edit-delete-plugin-template.spec.js ## @@ -77,6 +78,19 @@ context('Create Configure and Delete PluginTemplate', () => { cy.contains('Submit').click(); cy.get(selector.notification).should('contain', data.createPluginTemplateSuccess); }); + it('should view the service', function () { +cy.visit('plugin-template/list'); +cy.get(selector.refresh).click(); +cy.get(selector.descriptionSelector).type(data.pluginTemplateName); +cy.contains('button', 'Search').click(); +cy.contains(data.pluginTemplateName).siblings().contains('View').click(); +cy.get(selector.drawer).should('be.visible'); + +cy.get(selector.monacoScroll).within(() => { + cy.contains('plugins').should('exist'); + cy.contains(data.pluginTemplateName).should('exist'); +}); + }); Review comment: Since see that RawDataEditor has the ability to modify data, should we add tests to cover it? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-dashboard] guoqqqi commented on a change in pull request #2393: feat: Adding view buttons to the plugin-template page
guoqqqi commented on a change in pull request #2393: URL: https://github.com/apache/apisix-dashboard/pull/2393#discussion_r834877485 ## File path: web/cypress/integration/pluginTemplate/create-edit-delete-plugin-template.spec.js ## @@ -77,6 +78,19 @@ context('Create Configure and Delete PluginTemplate', () => { cy.contains('Submit').click(); cy.get(selector.notification).should('contain', data.createPluginTemplateSuccess); }); + it('should view the service', function () { Review comment: ```suggestion it('should view the plugin template', function () { ``` ## File path: web/src/pages/PluginTemplate/List.tsx ## @@ -22,13 +22,19 @@ import type { ActionType, ProColumns } from '@ant-design/pro-table'; import { Button, notification, Popconfirm, Select, Space, Tag } from 'antd'; import { PlusOutlined } from '@ant-design/icons'; import usePagination from '@/hooks/usePagination'; -import { fetchList, remove, fetchLabelList } from './service'; +import { fetchList, remove, create, fetchLabelList, update } from './service'; +import { RawDataEditor } from '@/components/RawDataEditor'; +import { omit } from 'lodash'; Review comment: Move this line to line 25 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #5451: request help: Does response-rewrite plugin support partial or regular substitution
spacewander commented on issue #5451: URL: https://github.com/apache/apisix/issues/5451#issuecomment-1078560446 LGTM, except for a small problem: We need to check the result of `hold_body_chunk`: https://github.com/apache/apisix/blob/6cd7b8d024d2b3da9db0a61dbff3b462059fa233/apisix/core/response.lua#L168-L173 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-helm-chart] tokers commented on a change in pull request #257: Daemonset
tokers commented on a change in pull request #257: URL: https://github.com/apache/apisix-helm-chart/pull/257#discussion_r834872377 ## File path: charts/apisix/templates/daemonset.yaml ## @@ -0,0 +1,201 @@ +# +# 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. +{{- if eq .Values.apisix.kind "DaemonSet" }} +{{- if .Values.apisix.enabled }} +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: {{ include "apisix.fullname" . }} + namespace: {{ .Release.Namespace }} + labels: +{{- include "apisix.labels" . | nindent 4 }} +spec: + selector: +matchLabels: + {{- include "apisix.selectorLabels" . | nindent 6 }} + template: +metadata: + annotations: +checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} +{{- with .Values.apisix.podAnnotations }} +{{- toYaml . | nindent 8 }} +{{- end }} + labels: +{{- include "apisix.selectorLabels" . | nindent 8 }} +spec: + {{- with .Values.global.imagePullSecrets }} + imagePullSecrets: +{{- toYaml . | nindent 8 }} + {{- end }} + securityContext: +{{- toYaml .Values.podSecurityContext | nindent 8 }} + containers: +- name: {{ .Chart.Name }} + securityContext: +{{- toYaml .Values.securityContext | nindent 12 }} + image: "{{ .Values.apisix.image.repository }}:{{ .Values.apisix.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.apisix.image.pullPolicy }} + ports: +- name: http + containerPort: {{ .Values.gateway.http.containerPort }} + protocol: TCP +- name: tls + containerPort: {{ .Values.gateway.tls.containerPort }} + protocol: TCP +{{- if .Values.admin.enabled }} +- name: admin + containerPort: {{ .Values.admin.port }} + protocol: TCP +{{- end }} +{{- if .Values.serviceMonitor.enabled }} +- name: prometheus + containerPort: {{ .Values.serviceMonitor.containerPort }} + protocol: TCP +{{- end }} +{{- if and .Values.gateway.stream.enabled (or (gt (len .Values.gateway.stream.tcp) 0) (gt (len .Values.gateway.stream.udp) 0)) }} +{{- with .Values.gateway.stream }} +{{- if (gt (len .tcp) 0) }} +{{- range $index, $port := .tcp }} +- name: proxy-tcp-{{ $index | toString }} + containerPort: {{ $port }} + protocol: TCP +{{- end }} +{{- end }} +{{- if (gt (len .udp) 0) }} +{{- range $index, $port := .udp }} +- name: proxy-udp-{{ $index | toString }} + containerPort: {{ $port }} + protocol: UDP +{{- end }} +{{- end }} +{{- end }} +{{- end }} + readinessProbe: +failureThreshold: 6 +initialDelaySeconds: 10 +periodSeconds: 10 +successThreshold: 1 +tcpSocket: + port: {{ .Values.gateway.http.containerPort }} +timeoutSeconds: 1 + lifecycle: +preStop: + exec: +command: +- /bin/sh +- -c +- "sleep 30" + env: +- name: INTRANET_IP Review comment: @PGDream Could you give us a link about this? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix-docker] membphis merged pull request #294: feat: upgrade dependency to 1.19.9.1.4
membphis merged pull request #294: URL: https://github.com/apache/apisix-docker/pull/294 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix-docker] branch master updated: feat: upgrade dependency to 1.19.9.1.4 (#294)
This is an automated email from the ASF dual-hosted git repository. membphis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix-docker.git The following commit(s) were added to refs/heads/master by this push: new 4076105 feat: upgrade dependency to 1.19.9.1.4 (#294) 4076105 is described below commit 407610575b68b8764a3af787c9455e8bd7c1771f Author: leslie <59061168+leslie-ts...@users.noreply.github.com> AuthorDate: Fri Mar 25 09:10:08 2022 +0800 feat: upgrade dependency to 1.19.9.1.4 (#294) --- all-in-one/apisix/Dockerfile | 2 +- alpine-dev/Dockerfile| 2 +- alpine/Dockerfile| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/all-in-one/apisix/Dockerfile b/all-in-one/apisix/Dockerfile index ea38e0b..be76b59 100644 --- a/all-in-one/apisix/Dockerfile +++ b/all-in-one/apisix/Dockerfile @@ -20,7 +20,7 @@ ARG APISIX_VERSION=2.12.1 ARG ETCD_VERSION=v3.4.14 # Build Apache APISIX -FROM api7/apisix-base:1.19.9.1.3 AS production-stage +FROM api7/apisix-base:1.19.9.1.4 AS production-stage ARG APISIX_VERSION LABEL apisix_version="${APISIX_VERSION}" diff --git a/alpine-dev/Dockerfile b/alpine-dev/Dockerfile index 51fa66a..13aa967 100644 --- a/alpine-dev/Dockerfile +++ b/alpine-dev/Dockerfile @@ -17,7 +17,7 @@ ARG ENABLE_PROXY=false -FROM api7/apisix-base:1.19.9.1.3 AS production-stage +FROM api7/apisix-base:1.19.9.1.4 AS production-stage ARG ENABLE_PROXY RUN set -x \ diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 628fcda..02a52f3 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -18,7 +18,7 @@ ARG ENABLE_PROXY=false # Build Apache APISIX -FROM api7/apisix-base:1.19.9.1.3 +FROM api7/apisix-base:1.19.9.1.4 ARG APISIX_VERSION=2.12.1 LABEL apisix_version="${APISIX_VERSION}"
[GitHub] [apisix] spacewander commented on pull request #6382: feat: add auth plugin for casdoor
spacewander commented on pull request #6382: URL: https://github.com/apache/apisix/pull/6382#issuecomment-1078557359 Let's handle https://github.com/apache/apisix/pull/6382#discussion_r832883057? -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] chalin commented on a change in pull request #6711: docs: fix links to OpenTelemetry specification
chalin commented on a change in pull request #6711: URL: https://github.com/apache/apisix/pull/6711#discussion_r834869409 ## File path: docs/en/latest/plugins/opentelemetry.md ## @@ -23,9 +23,9 @@ title: opentelemetry ## Description -[OpenTelemetry](https://opentelemetry.io/) report Tracing data according to [opentelemetry specification](https://github.com/open-telemetry/opentelemetry-specification). +[OpenTelemetry](https://opentelemetry.io/) report Tracing data according to [OpenTelemetry specification](https://opentelemetry.io/docs/reference/specification/). -Just support reporting in `HTTP` with `Content-Type=application/x-protobuf`, the specification: [OTLP/HTTP Request](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/otlp.md#otlphttp-request)。 +Just support reporting in `HTTP` with `Content-Type=application/x-protobuf`, the specification: [OTLP/HTTP Request](https://opentelemetry.io/docs/reference/specification/protocol/otlp/#otlphttp-request). Review comment: Sure I can give it a try tomorrow. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander commented on pull request #6707: fix: hidding real message when password or username is error
spacewander commented on pull request #6707: URL: https://github.com/apache/apisix/pull/6707#issuecomment-1078552924 Hi @liangliang4ward, you need to use: ``` Fixes #6703 ``` but not ``` Fixes # [(issue)](https://github.com/apache/apisix/issues/6703) ``` in the link -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] tokers commented on issue #6710: help request: Add a header if exist not overwrite
tokers commented on issue #6710: URL: https://github.com/apache/apisix/issues/6710#issuecomment-1078552390 @purekeeper Currently, you may support this by the serverless plugin: https://apisix.apache.org/docs/apisix/plugins/serverless. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [apisix] spacewander merged pull request #6711: docs: fix links to OpenTelemetry specification
spacewander merged pull request #6711: URL: https://github.com/apache/apisix/pull/6711 -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[apisix] branch master updated: docs: fix links to OpenTelemetry specification (#6711)
This is an automated email from the ASF dual-hosted git repository. spacewander pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix.git The following commit(s) were added to refs/heads/master by this push: new 6cd7b8d docs: fix links to OpenTelemetry specification (#6711) 6cd7b8d is described below commit 6cd7b8d024d2b3da9db0a61dbff3b462059fa233 Author: Patrice Chalin AuthorDate: Thu Mar 24 20:56:21 2022 -0400 docs: fix links to OpenTelemetry specification (#6711) --- docs/en/latest/plugins/opentelemetry.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/latest/plugins/opentelemetry.md b/docs/en/latest/plugins/opentelemetry.md index 336856b..ce722c4 100644 --- a/docs/en/latest/plugins/opentelemetry.md +++ b/docs/en/latest/plugins/opentelemetry.md @@ -23,9 +23,9 @@ title: opentelemetry ## Description -[OpenTelemetry](https://opentelemetry.io/) report Tracing data according to [opentelemetry specification](https://github.com/open-telemetry/opentelemetry-specification). +[OpenTelemetry](https://opentelemetry.io/) report Tracing data according to [OpenTelemetry specification](https://opentelemetry.io/docs/reference/specification/). -Just support reporting in `HTTP` with `Content-Type=application/x-protobuf`, the specification: [OTLP/HTTP Request](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/otlp.md#otlphttp-request)。 +Just support reporting in `HTTP` with `Content-Type=application/x-protobuf`, the specification: [OTLP/HTTP Request](https://opentelemetry.io/docs/reference/specification/protocol/otlp/#otlphttp-request). ## Attributes @@ -126,7 +126,7 @@ When you want to disable the opentelemetry plugin on a route/service, it is very you can delete the corresponding JSON configuration in the plugin configuration, no need to restart the service, it will take effect immediately: -```shell +```console $ curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "methods": ["GET"],