-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adapt to the latest configuration
- Loading branch information
1 parent
4197e6b
commit df4d453
Showing
16 changed files
with
297 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
controllers/monitor/builder/cue/extension/apecloud_engine_observer.cue
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
output: | ||
memory_limiter:{ | ||
limit_mib: 512 | ||
spike_limit_mib: 128 | ||
check_interval: "10s" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
controllers/monitor/builder/cue/receiver/resource_attributes.cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
output: | ||
resource_attributes: | ||
pod: { | ||
app_kubernetes_io_component: "`labels[\"app.kubernetes.io/component\"]`" | ||
app_kubernetes_io_instance: "`labels[\"app.kubernetes.io/instance\"]`" | ||
app_kubernetes_io_managed_by: "`labels[\"app.kubernetes.io/managed-by\"]`" | ||
app_kubernetes_io_name: "`labels[\"app.kubernetes.io/name\"]`" | ||
app_kubernetes_io_version: "`labels[\"app.kubernetes.io/version\"]`" | ||
apps_kubeblocks_io_component_name: "`labels[\"apps.kubeblocks.io/component-name\"]`" | ||
node: "${env:NODE_NAME}" | ||
namespace: "`namespace`" | ||
pod: "`name`" | ||
job: "oteld-app" | ||
} | ||
"k8s.node": { | ||
kubernetes_io_arch: "`labels[\"kubernetes.io/arch\"]`" | ||
kubernetes_io_hostname: "`labels[\"kubernetes.io/hostname\"]`" | ||
kubernetes_io_os: "`labels[\"kubernetes.io/os\"]`" | ||
node: "`name`" | ||
hostname: "`hostname`" | ||
job: "oteld-system" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
parameters: { | ||
logLevel: *"debug" | string | ||
metricsPort: *6668 | int | ||
} | ||
|
||
output: | ||
telemetry: { | ||
logs: | ||
level: parameters.logLevel | ||
metrics: | ||
address: "${env:HOST_IP}:" + "\(parameters.metricsPort)" | ||
resource: | ||
node: "${env:NODE_NAME}" | ||
job: "oteld-telemetry" | ||
} | ||
extensions: ["memory_ballast", "apecloud_k8s_observer", "apecloud_k8s_observer/node", "runtime_container", "apecloud_engine_observer"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.