From 92086c811fdac8eeb966bb29c41ce1528dd519bf Mon Sep 17 00:00:00 2001 From: Mrproliu <741550557@qq.com> Date: Tue, 13 Jun 2023 10:45:24 +0800 Subject: [PATCH] add fields in the eBPF profiling task query --- CHANGES.md | 1 + .../profiling/ebpf/QueryEBPFProfilingTaskList.graphql | 1 + dist/LICENSE | 2 +- go.mod | 2 +- go.sum | 4 ++-- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 23a159f..1b3be7f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -42,6 +42,7 @@ Release Notes. * Add `isEmptyValue` field in metrics related sub-commands. @mrproliu in https://github.com/apache/skywalking-cli/pull/180 * Add the sub-command `metrics execute` for execute the metrics query. @mrproliu in https://github.com/apache/skywalking-cli/pull/182 * Add the sub-command `profiling continuous monitoring` for query all continuous profiling monitoring instances. @mrproliu in https://github.com/apache/skywalking-cli/pull/182 +* Add `continuousProfilingCauses.message` field in the `profiling ebpf list` comamnds by @mrproliu in https://github.com/apache/skywalking-cli/pull/184 0.10.0 ------------------ diff --git a/assets/graphqls/profiling/ebpf/QueryEBPFProfilingTaskList.graphql b/assets/graphqls/profiling/ebpf/QueryEBPFProfilingTaskList.graphql index cbb8589..503d5db 100644 --- a/assets/graphqls/profiling/ebpf/QueryEBPFProfilingTaskList.graphql +++ b/assets/graphqls/profiling/ebpf/QueryEBPFProfilingTaskList.graphql @@ -32,6 +32,7 @@ query ($serviceId: ID!, $triggerType: EBPFProfilingTriggerType){ type singleValue {threshold current} uri {uriRegex uriPath threshold current} + message } targetType createTime diff --git a/dist/LICENSE b/dist/LICENSE index e7adc36..2889d81 100644 --- a/dist/LICENSE +++ b/dist/LICENSE @@ -213,7 +213,7 @@ The text of each license is also included at licenses/license-[project].txt. k8s.io/utils v0.0.0-20210802155522-efc7438f0176 Apache-2.0 sigs.k8s.io/controller-runtime v0.10.0 Apache-2.0 sigs.k8s.io/structured-merge-diff/v4 v4.1.2 Apache-2.0 - skywalking.apache.org/repo/goapi v0.0.0-20230608092131-570069c78f35 Apache-2.0 + skywalking.apache.org/repo/goapi v0.0.0-20230612142312-4a524db7a92c Apache-2.0 ======================================================================== BSD-2-Clause licenses diff --git a/go.mod b/go.mod index 971f869..6dda07c 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( gopkg.in/yaml.v2 v2.4.0 k8s.io/apimachinery v0.22.1 sigs.k8s.io/controller-runtime v0.10.0 - skywalking.apache.org/repo/goapi v0.0.0-20230608092131-570069c78f35 + skywalking.apache.org/repo/goapi v0.0.0-20230612142312-4a524db7a92c ) require ( diff --git a/go.sum b/go.sum index 6284540..1344a45 100644 --- a/go.sum +++ b/go.sum @@ -864,5 +864,5 @@ sigs.k8s.io/structured-merge-diff/v4 v4.1.2 h1:Hr/htKFmJEbtMgS/UD0N+gtgctAqz81t3 sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= -skywalking.apache.org/repo/goapi v0.0.0-20230608092131-570069c78f35 h1:lH1a+7DTdPAe5HhLUssuXU0pvVWq8l1j17Ajmfc+xPA= -skywalking.apache.org/repo/goapi v0.0.0-20230608092131-570069c78f35/go.mod h1:bW4dg0GUN4rMCMS8DLlaY3ZiKUAJ1fQYKoZ91Bl0kTk= +skywalking.apache.org/repo/goapi v0.0.0-20230612142312-4a524db7a92c h1:5ZqcUo6Uevrvlj4T2KV9XS/bRcmpfIEAGRaxDOf9Zr4= +skywalking.apache.org/repo/goapi v0.0.0-20230612142312-4a524db7a92c/go.mod h1:bW4dg0GUN4rMCMS8DLlaY3ZiKUAJ1fQYKoZ91Bl0kTk=