(skywalking) branch master updated: Fix SumPerMinFunctionTest error function (#11773)

2024-01-14 Thread wusheng
This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
 new 52c29354f2 Fix SumPerMinFunctionTest error function (#11773)
52c29354f2 is described below

commit 52c29354f2a90539b44bd79e8732b6fa4bc74222
Author: peachisai <96932958+peachi...@users.noreply.github.com>
AuthorDate: Mon Jan 15 15:56:50 2024 +0800

Fix SumPerMinFunctionTest error function (#11773)

Co-authored-by: 邵一鸣 
---
 docs/en/changes/changes.md | 1 +
 .../core/analysis/meter/function/sumpermin/SumPerMinFunctionTest.java  | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md
index baa301bc99..ed5d032240 100644
--- a/docs/en/changes/changes.md
+++ b/docs/en/changes/changes.md
@@ -20,6 +20,7 @@
 * Allow using a dedicated port for ALS receiver.
 * Fix log query by traceId in `JDBCLogQueryDAO`.
 * Support handler eBPF access log protocol.
+* Fix SumPerMinFunctionTest error function.
 
  UI
 
diff --git 
a/oap-server/server-core/src/test/java/org/apache/skywalking/oap/server/core/analysis/meter/function/sumpermin/SumPerMinFunctionTest.java
 
b/oap-server/server-core/src/test/java/org/apache/skywalking/oap/server/core/analysis/meter/function/sumpermin/SumPerMinFunctionTest.java
index b532d6945b..fe00209e33 100644
--- 
a/oap-server/server-core/src/test/java/org/apache/skywalking/oap/server/core/analysis/meter/function/sumpermin/SumPerMinFunctionTest.java
+++ 
b/oap-server/server-core/src/test/java/org/apache/skywalking/oap/server/core/analysis/meter/function/sumpermin/SumPerMinFunctionTest.java
@@ -22,7 +22,6 @@ import org.apache.skywalking.oap.server.core.analysis.Layer;
 import org.apache.skywalking.oap.server.core.analysis.TimeBucket;
 import org.apache.skywalking.oap.server.core.analysis.meter.MeterEntity;
 import 
org.apache.skywalking.oap.server.core.analysis.meter.function.AcceptableValue;
-import 
org.apache.skywalking.oap.server.core.analysis.meter.function.latest.LatestFunction;
 import org.apache.skywalking.oap.server.core.config.NamingControl;
 import org.apache.skywalking.oap.server.core.config.group.EndpointNameGrouping;
 import org.apache.skywalking.oap.server.core.storage.type.HashMapConverter;
@@ -100,7 +99,7 @@ public class SumPerMinFunctionTest {
 public void testSerialize() {
 long time = 1597113447737L;
 function.accept(MeterEntity.newService("sum_sync_time", 
Layer.GENERAL), time);
-LatestFunction function2 = Mockito.spy(LatestFunction.class);
+SumPerMinFunction function2 = Mockito.spy(SumPerMinFunction.class);
 function2.deserialize(function.serialize().build());
 assertThat(function2.getEntityId()).isEqualTo(function.getEntityId());
 
assertThat(function2.getTimeBucket()).isEqualTo(function.getTimeBucket());



Re: [PR] Fix SumPerMinFunctionTest error function [skywalking]

2024-01-14 Thread via GitHub


wu-sheng merged PR #11773:
URL: https://github.com/apache/skywalking/pull/11773


-- 
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...@skywalking.apache.org

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



Re: [PR] Support rocketmq monitoring [skywalking]

2024-01-14 Thread via GitHub


peachisai commented on code in PR #11758:
URL: https://github.com/apache/skywalking/pull/11758#discussion_r1452013152


##
test/e2e-v2/cases/rocketmq/docker-compose.yml:
##
@@ -0,0 +1,117 @@
+# 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.
+
+version: "3"
+
+services:
+  oap:
+extends:
+  file: ../../script/docker-compose/base-compose.yml
+  service: oap
+ports:
+  - "12800:12800"
+networks:
+  - e2e
+
+  rocketmq-namesrv-1:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-namesrv-1
+ports:
+  - "9876:9876"
+environment:
+  TZ: Asia/Shanghai
+command: sh mqnamesrv
+healthcheck:
+  test: [ "CMD", "nc", "-nz", "127.0.0.1", "9876" ]
+  interval: 15s
+  timeout: 10s
+  retries: 120
+networks:
+  - e2e
+
+  rocketmq-broker-1:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-broker-1
+ports:
+  - "10911:10911"
+  - "10909:10909"
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh mqbroker
+healthcheck:
+  test: [ "CMD", "nc", "-nz", "127.0.0.1", "10911" ]
+  interval: 15s
+  timeout: 10s
+  retries: 120
+depends_on:
+  rocketmq-namesrv-1:
+condition: service_healthy
+networks:
+  - e2e
+
+  rocketmq-producer-perf-test:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-producer-perf-test
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh tools.sh org.apache.rocketmq.example.quickstart.Producer
+depends_on:
+  rocketmq-broker-1:
+condition: service_healthy
+networks:
+  - e2e
+
+  rocketmq-consumer-perf-test:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-consumer-perf-test
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh tools.sh org.apache.rocketmq.example.quickstart.Consumer
+depends_on:
+  - rocketmq-producer-perf-test
+networks:
+  - e2e
+
+  rocketmq-exporter:
+image: hfuiewiu/rocketmq-exporter:latest

Review Comment:
   > @peachisai Could you track that discussion? We could continue this after 
the release is done.
   > 
   > Meanwhile, you could send another pull request to land the SWIP-3. And you 
could prepare the showcase part for this.
   
   Okay, I will follow up on this matter.If there is any progression, I will 
post it on SWIP-3.



-- 
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...@skywalking.apache.org

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



Re: [PR] Support rocketmq monitoring [skywalking]

2024-01-14 Thread via GitHub


peachisai commented on code in PR #11758:
URL: https://github.com/apache/skywalking/pull/11758#discussion_r1452009450


##
test/e2e-v2/cases/rocketmq/docker-compose.yml:
##
@@ -0,0 +1,117 @@
+# 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.
+
+version: "3"
+
+services:
+  oap:
+extends:
+  file: ../../script/docker-compose/base-compose.yml
+  service: oap
+ports:
+  - "12800:12800"
+networks:
+  - e2e
+
+  rocketmq-namesrv-1:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-namesrv-1
+ports:
+  - "9876:9876"
+environment:
+  TZ: Asia/Shanghai
+command: sh mqnamesrv
+healthcheck:
+  test: [ "CMD", "nc", "-nz", "127.0.0.1", "9876" ]
+  interval: 15s
+  timeout: 10s
+  retries: 120
+networks:
+  - e2e
+
+  rocketmq-broker-1:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-broker-1
+ports:
+  - "10911:10911"
+  - "10909:10909"
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh mqbroker
+healthcheck:
+  test: [ "CMD", "nc", "-nz", "127.0.0.1", "10911" ]
+  interval: 15s
+  timeout: 10s
+  retries: 120
+depends_on:
+  rocketmq-namesrv-1:
+condition: service_healthy
+networks:
+  - e2e
+
+  rocketmq-producer-perf-test:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-producer-perf-test
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh tools.sh org.apache.rocketmq.example.quickstart.Producer
+depends_on:
+  rocketmq-broker-1:
+condition: service_healthy
+networks:
+  - e2e
+
+  rocketmq-consumer-perf-test:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-consumer-perf-test
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh tools.sh org.apache.rocketmq.example.quickstart.Consumer
+depends_on:
+  - rocketmq-producer-perf-test
+networks:
+  - e2e
+
+  rocketmq-exporter:
+image: hfuiewiu/rocketmq-exporter:latest

Review Comment:
   > > > > rocketmq-exporter hasn't published a released version. Is it okay if 
I name it version 0.1?"
   > > > 
   > > > 
   > > > In the pom the latest code is 0.0.2-SNAPSHOT 
https://github.com/apache/rocketmq-exporter/blob/72ce20c7983693e54f74075d68a9f04aa32c8644/pom.xml#L13C14-L13C28
   > > 
   > > 
   > > Ok,i forgot it
   > 
   > Thanks for your contribution,
   > 
   > > > > rocketmq-exporter hasn't published a released version. Is it okay if 
I name it version 0.1?"
   > > > 
   > > > 
   > > > In the pom the latest code is 0.0.2-SNAPSHOT 
https://github.com/apache/rocketmq-exporter/blob/72ce20c7983693e54f74075d68a9f04aa32c8644/pom.xml#L13C14-L13C28
   > > 
   > > 
   > > Ok,i forgot it
   > 
   > It's a great job, will greatly improve the observability of RocketMQ 
servers, RocketMQ community is discussing the release of an official version in 
the mailing list, and I'm willing to push this forward. welcome to get involved 
in this discussion. Last, thanks for your contribution :)
   
   Thank you for the promotion. I would like to join the discussion.



-- 
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...@skywalking.apache.org

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



[PR] Fix SumPerMinFunctionTest error function [skywalking]

2024-01-14 Thread via GitHub


peachisai opened a new pull request, #11773:
URL: https://github.com/apache/skywalking/pull/11773

   
   
   
   
   
   
   
   
   - [x] Update the [`CHANGES` 
log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
   


-- 
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...@skywalking.apache.org

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



Re: [PR] Support rocketmq monitoring [skywalking]

2024-01-14 Thread via GitHub


wu-sheng commented on code in PR #11758:
URL: https://github.com/apache/skywalking/pull/11758#discussion_r1451972321


##
test/e2e-v2/cases/rocketmq/docker-compose.yml:
##
@@ -0,0 +1,117 @@
+# 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.
+
+version: "3"
+
+services:
+  oap:
+extends:
+  file: ../../script/docker-compose/base-compose.yml
+  service: oap
+ports:
+  - "12800:12800"
+networks:
+  - e2e
+
+  rocketmq-namesrv-1:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-namesrv-1
+ports:
+  - "9876:9876"
+environment:
+  TZ: Asia/Shanghai
+command: sh mqnamesrv
+healthcheck:
+  test: [ "CMD", "nc", "-nz", "127.0.0.1", "9876" ]
+  interval: 15s
+  timeout: 10s
+  retries: 120
+networks:
+  - e2e
+
+  rocketmq-broker-1:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-broker-1
+ports:
+  - "10911:10911"
+  - "10909:10909"
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh mqbroker
+healthcheck:
+  test: [ "CMD", "nc", "-nz", "127.0.0.1", "10911" ]
+  interval: 15s
+  timeout: 10s
+  retries: 120
+depends_on:
+  rocketmq-namesrv-1:
+condition: service_healthy
+networks:
+  - e2e
+
+  rocketmq-producer-perf-test:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-producer-perf-test
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh tools.sh org.apache.rocketmq.example.quickstart.Producer
+depends_on:
+  rocketmq-broker-1:
+condition: service_healthy
+networks:
+  - e2e
+
+  rocketmq-consumer-perf-test:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-consumer-perf-test
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh tools.sh org.apache.rocketmq.example.quickstart.Consumer
+depends_on:
+  - rocketmq-producer-perf-test
+networks:
+  - e2e
+
+  rocketmq-exporter:
+image: hfuiewiu/rocketmq-exporter:latest

Review Comment:
   @peachisai Could you track that discussion? We could continue this after the 
release is done.
   
   Meanwhile, you could send another pull request to land the SWIP-3. And you 
could prepare the showcase part for 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...@skywalking.apache.org

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



Re: [PR] Support rocketmq monitoring [skywalking]

2024-01-14 Thread via GitHub


duhenglucky commented on code in PR #11758:
URL: https://github.com/apache/skywalking/pull/11758#discussion_r1451966416


##
test/e2e-v2/cases/rocketmq/docker-compose.yml:
##
@@ -0,0 +1,117 @@
+# 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.
+
+version: "3"
+
+services:
+  oap:
+extends:
+  file: ../../script/docker-compose/base-compose.yml
+  service: oap
+ports:
+  - "12800:12800"
+networks:
+  - e2e
+
+  rocketmq-namesrv-1:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-namesrv-1
+ports:
+  - "9876:9876"
+environment:
+  TZ: Asia/Shanghai
+command: sh mqnamesrv
+healthcheck:
+  test: [ "CMD", "nc", "-nz", "127.0.0.1", "9876" ]
+  interval: 15s
+  timeout: 10s
+  retries: 120
+networks:
+  - e2e
+
+  rocketmq-broker-1:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-broker-1
+ports:
+  - "10911:10911"
+  - "10909:10909"
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh mqbroker
+healthcheck:
+  test: [ "CMD", "nc", "-nz", "127.0.0.1", "10911" ]
+  interval: 15s
+  timeout: 10s
+  retries: 120
+depends_on:
+  rocketmq-namesrv-1:
+condition: service_healthy
+networks:
+  - e2e
+
+  rocketmq-producer-perf-test:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-producer-perf-test
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh tools.sh org.apache.rocketmq.example.quickstart.Producer
+depends_on:
+  rocketmq-broker-1:
+condition: service_healthy
+networks:
+  - e2e
+
+  rocketmq-consumer-perf-test:
+image: apache/rocketmq:4.9.4
+hostname: rocketmq-consumer-perf-test
+environment:
+  TZ: Asia/Shanghai
+  NAMESRV_ADDR: "rocketmq-namesrv-1:9876"
+command: sh tools.sh org.apache.rocketmq.example.quickstart.Consumer
+depends_on:
+  - rocketmq-producer-perf-test
+networks:
+  - e2e
+
+  rocketmq-exporter:
+image: hfuiewiu/rocketmq-exporter:latest

Review Comment:
   > > > rocketmq-exporter hasn't published a released version. Is it okay if I 
name it version 0.1?"
   > > 
   > > 
   > > In the pom the latest code is 0.0.2-SNAPSHOT 
https://github.com/apache/rocketmq-exporter/blob/72ce20c7983693e54f74075d68a9f04aa32c8644/pom.xml#L13C14-L13C28
   > 
   > Ok,i forgot it
   
   Thanks for your contribution, 
   
   > > > rocketmq-exporter hasn't published a released version. Is it okay if I 
name it version 0.1?"
   > > 
   > > 
   > > In the pom the latest code is 0.0.2-SNAPSHOT 
https://github.com/apache/rocketmq-exporter/blob/72ce20c7983693e54f74075d68a9f04aa32c8644/pom.xml#L13C14-L13C28
   > 
   > Ok,i forgot it
   
   It's a great job, will greatly improve the observability of RocketMQ 
servers, 
   RocketMQ community is discussing the release of an official version in the 
mailing list, and I'm willing to push this forward.  welcome to get involved in 
this discussion. Last, thanks for your contribution :)



-- 
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...@skywalking.apache.org

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



Re: [PR] Bump up changes GHA to detect submodule changes [skywalking]

2024-01-14 Thread via GitHub


wu-sheng commented on PR #11772:
URL: https://github.com/apache/skywalking/pull/11772#issuecomment-1891278862

   CI seems to be blocked somehow.


-- 
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...@skywalking.apache.org

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



Re: [PR] Support handle eBPF Access Logs and update related UI [skywalking]

2024-01-14 Thread via GitHub


mrproliu merged PR #11732:
URL: https://github.com/apache/skywalking/pull/11732


-- 
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...@skywalking.apache.org

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



[PR] Bump up changes GHA to detect submodule changes [skywalking]

2024-01-14 Thread via GitHub


kezhenxu94 opened a new pull request, #11772:
URL: https://github.com/apache/skywalking/pull/11772

   
   
   
   
   
   
   
   
   - [ ] If this pull request closes/resolves/fixes an existing issue, replace 
the issue number. Closes #.
   - [ ] Update the [`CHANGES` 
log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
   


-- 
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...@skywalking.apache.org

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



Re: [PR] [WIP] Support handle eBPF Access Logs and update related UI [skywalking]

2024-01-14 Thread via GitHub


mrproliu commented on code in PR #11732:
URL: https://github.com/apache/skywalking/pull/11732#discussion_r1451853534


##
oap-server/server-receiver-plugin/skywalking-ebpf-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/ebpf/provider/handler/AccessLogServiceHandler.java:
##
@@ -0,0 +1,700 @@
+/*
+ * 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.
+ *
+ */
+
+package org.apache.skywalking.oap.server.receiver.ebpf.provider.handler;
+
+import io.grpc.stub.StreamObserver;
+import io.vavr.Tuple2;
+import lombok.Getter;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.skywalking.apm.network.common.v3.DetectPoint;
+import org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogConnection;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogConnectionTLSMode;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogHTTPProtocol;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogKernelAcceptOperation;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogKernelCloseOperation;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogKernelConnectOperation;
+import org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogKernelLog;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogKernelReadOperation;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogKernelWriteOperation;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogProtocolLogs;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.AccessLogProtocolType;
+import org.apache.skywalking.apm.network.ebpf.accesslog.v3.ConnectionAddress;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.EBPFAccessLogDownstream;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.EBPFAccessLogMessage;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.EBPFAccessLogServiceGrpc;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.EBPFAccessLogNodeInfo;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.EBPFAccessLogNodeNetInterface;
+import org.apache.skywalking.apm.network.common.v3.Instant;
+import org.apache.skywalking.apm.network.ebpf.accesslog.v3.EBPFTimestamp;
+import org.apache.skywalking.apm.network.ebpf.accesslog.v3.IPAddress;
+import 
org.apache.skywalking.apm.network.ebpf.accesslog.v3.KubernetesProcessAddress;
+import org.apache.skywalking.library.kubernetes.ObjectID;
+import org.apache.skywalking.oap.meter.analyzer.k8s.K8sInfoRegistry;
+import org.apache.skywalking.oap.server.core.CoreModule;
+import org.apache.skywalking.oap.server.core.analysis.Layer;
+import org.apache.skywalking.oap.server.core.analysis.TimeBucket;
+import org.apache.skywalking.oap.server.core.config.NamingControl;
+import org.apache.skywalking.oap.server.core.source.K8SEndpoint;
+import org.apache.skywalking.oap.server.core.source.K8SEndpointRelation;
+import org.apache.skywalking.oap.server.core.source.K8SMetrics;
+import org.apache.skywalking.oap.server.core.source.K8SService;
+import org.apache.skywalking.oap.server.core.source.K8SServiceInstance;
+import org.apache.skywalking.oap.server.core.source.K8SServiceInstanceRelation;
+import org.apache.skywalking.oap.server.core.source.K8SServiceRelation;
+import org.apache.skywalking.oap.server.core.source.SourceReceiver;
+import org.apache.skywalking.oap.server.library.module.ModuleManager;
+import org.apache.skywalking.oap.server.library.util.StringUtil;
+import org.apache.skywalking.oap.server.telemetry.TelemetryModule;
+import org.apache.skywalking.oap.server.telemetry.api.CounterMetrics;
+import org.apache.skywalking.oap.server.telemetry.api.HistogramMetrics;
+import org.apache.skywalking.oap.server.telemetry.api.MetricsCreator;
+import org.apache.skywalking.oap.server.telemetry.api.MetricsTag;
+
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+import java.util.Objects;
+import java.util.concurrent.ConcurrentHashMap;
+import java.util.concurrent.Executors;
+import java.util.concurrent.TimeUnit;
+import java.util.concurrent.atomic.AtomicLong;
+import java.util.stream.Collectors;
+import java.util.stream.Stream;
+
+@Slf4j
+public class 

Re: [PR] [WIP] Support handle eBPF Access Logs and update related UI [skywalking]

2024-01-14 Thread via GitHub


mrproliu commented on code in PR #11732:
URL: https://github.com/apache/skywalking/pull/11732#discussion_r1451852883


##
docs/menu.yml:
##
@@ -203,7 +203,11 @@ catalog:
   - name: "Kubernetes"
 catalog:
   - name: "Observe Kubernetes"
-path: "/en/setup/backend/backend-k8s-monitoring"

Review Comment:
   I have created a new summary document and linked these two documents 
together.



-- 
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...@skywalking.apache.org

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



Re: [PR] [WIP] Support handle eBPF Access Logs and update related UI [skywalking]

2024-01-14 Thread via GitHub


mrproliu commented on code in PR #11732:
URL: https://github.com/apache/skywalking/pull/11732#discussion_r1451852565


##
docs/en/concepts-and-designs/scope-definitions.md:
##
@@ -414,3 +414,80 @@ This calculates the endpoint dimensional metrics data from 
each request of MQ sy
 | transmissionLatency | The latency from produce side to consume side .
  |   | int(in ms) |
 | status  | Indicates the success or failure of the request.   
  |   | boolean|
 | operation   | Indicates this access is on `Produce` or `Consume` 
side  |   | enum   |
+
+### SCOPES with `K8S` Prefix
+
+All metrics starting with `K8S` are derived from monitoring the Access Log in 
Kubernetes.
+
+ Service, Service Instance and relations
+
+For all `K8SService`, `K8SInstance`, `K8SServiceRelation` and 
`K8SServiceInstanceRelation`, they all have the 

Review Comment:
   Updated. 



-- 
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...@skywalking.apache.org

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



Re: [I] [Bug] [skywalking]

2024-01-14 Thread via GitHub


wangxingzhen closed issue #11769: [Bug] 
URL: https://github.com/apache/skywalking/issues/11769


-- 
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...@skywalking.apache.org

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



[I] [Bug] [skywalking]

2024-01-14 Thread via GitHub


wangxingzhen opened a new issue, #11769:
URL: https://github.com/apache/skywalking/issues/11769

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   OAP server (apache/skywalking)
   
   ### What happened
   
   When I build kratos, I get this error. My project has only grpc service, no 
http service. Is this the reason? There are more than a dozen microservices in 
this project directory, and I tried to add skywalking to one of them during 
build, but this error occurred.
   
   ➜  server git:(dev) ✗ go build -tags netgo -o service-market  -toolexec 
"/skywalking-go/bin/skywalking-go-agent--darwin-arm64 -config 
/skywalking-go/tools/go-agent/config/agent.default.yaml" -a .   
   # github.com/go-kratos/kratos/v2/transport/http
   
/var/folders/fd/6tb4j71n3rj4tdx6scv9fj40gp/T/go-build842865790/b278/skywalking_enhance_http_client_middleware.go:38:24:
 tr.RequestHeader().Add undefined (type transport.Header has no field or method 
Add)
   2024/01/14 21:59:11 exit status 2
   
   
   ### What you expected to happen
   
   I Should be successfully compiled
   
   ### How to reproduce
   
   I want to know what caused this
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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...@skywalking.apache.org.apache.org

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



(skywalking-java) branch fix-agent-doc-download deleted (was 4f2f81e181)

2024-01-14 Thread yihaochen
This is an automated email from the ASF dual-hosted git repository.

yihaochen pushed a change to branch fix-agent-doc-download
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git


 was 4f2f81e181 Fix re-transform bug when enhanced class proxy parent 
method (#659)

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.