You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2024/09/09 03:09:08 UTC
(skywalking) branch test created (now 50a8b17a3b)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a change to branch test
in repository https://gitbox.apache.org/repos/asf/skywalking.git
at 50a8b17a3b Add logs
This branch includes the following new commits:
new 4c8390af70 Add large latency buckets for otlp latency
new 50a8b17a3b Add logs
The 2 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.
(skywalking) 01/02: Add large latency buckets for otlp latency
Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/skywalking.git
commit 4c8390af70ddde10e6a33190b06433b1f2ce0368
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Sun Sep 8 11:33:18 2024 +0800
Add large latency buckets for otlp latency
---
.github/workflows/publish-docker.yaml | 1 +
.../server/receiver/otel/otlp/OpenTelemetryMetricRequestProcessor.java | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml
index 01c7e0b20d..80626bf839 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -20,6 +20,7 @@ on:
push:
branches:
- master
+ - test
release:
types:
- released
diff --git a/oap-server/server-receiver-plugin/otel-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/otel/otlp/OpenTelemetryMetricRequestProcessor.java b/oap-server/server-receiver-plugin/otel-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/otel/otlp/OpenTelemetryMetricRequestProcessor.java
index 7ef39c0a8f..4684b5b38d 100644
--- a/oap-server/server-receiver-plugin/otel-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/otel/otlp/OpenTelemetryMetricRequestProcessor.java
+++ b/oap-server/server-receiver-plugin/otel-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/otel/otlp/OpenTelemetryMetricRequestProcessor.java
@@ -86,7 +86,8 @@ public class OpenTelemetryMetricRequestProcessor implements Service {
"otel_metrics_latency",
"The latency to process the metrics request",
MetricsTag.EMPTY_KEY,
- MetricsTag.EMPTY_VALUE
+ MetricsTag.EMPTY_VALUE,
+ .005, .01, .025, .05, .075, .1, .25, .5, .75, 1, 2.5, 5, 7.5, 10, 30, 60, 120, 180, 300, 600
);
public void processMetricsRequest(final ExportMetricsServiceRequest requests) {
(skywalking) 02/02: Add logs
Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/skywalking.git
commit 50a8b17a3b83842937b877d4511322c965f0b6cd
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Mon Sep 9 11:08:52 2024 +0800
Add logs
---
.../java/org/apache/skywalking/oap/meter/analyzer/dsl/SampleFamily.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/dsl/SampleFamily.java b/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/dsl/SampleFamily.java
index e91a98f2ac..d0b96ada53 100644
--- a/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/dsl/SampleFamily.java
+++ b/oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/dsl/SampleFamily.java
@@ -83,6 +83,7 @@ public class SampleFamily {
static SampleFamily build(RunningContext ctx, Sample... samples) {
Preconditions.checkNotNull(samples);
Preconditions.checkArgument(samples.length > 0);
+ log.info("Samples size: %d", samples.length);
samples = Arrays.stream(samples).filter(sample -> !Double.isNaN(sample.getValue())).toArray(Sample[]::new);
if (samples.length == 0) {
return EMPTY;