generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 237
Adding Container Insights Jmx Pipeline #1382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
7135204
Adding CI JMX pipeline
Paramadon b57dcda
we are getting metrics
Paramadon 5d73e33
merging processors
Paramadon 146ff79
adding test/merging processors
Paramadon ac1b5fa
fixed otel_test.go tests(missing region)
Paramadon 03aa3fc
reverting jmx_eks_config
Paramadon 2feb6e6
fixing lint
Paramadon fae0e7b
fixing ContainerInsightsJmxConfig.yaml names
Paramadon d214af3
fixed unit tests
Paramadon 8b51ee1
fixing dynamic log stream name in unit test
Paramadon cbbe22c
resolving comments
Paramadon fcc3235
fixing issues
Paramadon 0688b68
Resolving comments
Paramadon 185c082
removing resource detection processor
Paramadon e773dfb
fixing awsemf translator syntax
Paramadon 48212f8
fixing lint
Paramadon da172b8
reverting util.go
Paramadon 806f984
fixing formats of files
Paramadon 8f7fcf3
cleaning code
Paramadon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
14 changes: 14 additions & 0 deletions
14
translator/config/sampleSchema/invalidContainerInsightsJmx.json
This file contains hidden or 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,14 @@ | ||
| { | ||
| "agent": { | ||
| "region": "us-west-2" | ||
| }, | ||
| "logs": { | ||
| "metrics_collected": { | ||
| "emf": { | ||
| }, | ||
| "kubernete": { | ||
Paramadon marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
| }, | ||
| "force_flush_interval": 5 | ||
| } | ||
| } | ||
16 changes: 16 additions & 0 deletions
16
translator/config/sampleSchema/validContainerInsightsJmx.json
This file contains hidden or 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 @@ | ||
| { | ||
| "agent": { | ||
| "region": "us-west-2" | ||
| }, | ||
| "logs": { | ||
| "metrics_collected": { | ||
| "emf": { | ||
| }, | ||
| "kubernetes": { | ||
| "cluster_name": "jvmCluster", | ||
| "namespace":"siprmp-jmx" | ||
Paramadon marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Paramadon marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
| }, | ||
| "force_flush_interval": 5 | ||
| } | ||
| } | ||
26 changes: 26 additions & 0 deletions
26
translator/tocwconfig/sampleConfig/container_insights_jmx.conf
This file contains hidden or 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,26 @@ | ||
| [agent] | ||
| collection_jitter = "0s" | ||
| debug = true | ||
| flush_interval = "1s" | ||
| flush_jitter = "0s" | ||
| hostname = "" | ||
| interval = "60s" | ||
| logfile = "" | ||
| logtarget = "lumberjack" | ||
| metric_batch_size = 1000 | ||
| metric_buffer_limit = 10000 | ||
| omit_hostname = false | ||
| precision = "" | ||
| quiet = false | ||
| round_interval = false | ||
|
|
||
| [outputs] | ||
|
|
||
| [[outputs.cloudwatch]] | ||
|
|
||
| [[outputs.cloudwatchlogs]] | ||
| force_flush_interval = "5s" | ||
| log_stream_name = "bcd0745edc19" | ||
| mode = "EC2" | ||
| region = "us-west-2" | ||
| region_type = "ACJ" |
41 changes: 41 additions & 0 deletions
41
translator/tocwconfig/sampleConfig/container_insights_jmx.json
This file contains hidden or 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,41 @@ | ||
| { | ||
| "agent": { | ||
| "debug": true | ||
| }, | ||
| "logs": { | ||
| "metrics_collected": { | ||
| "emf": { }, | ||
| "kubernetes": { | ||
| "cluster_name": "TestCluster", | ||
| "jmx_container_insights": true | ||
| } | ||
| } | ||
| }, | ||
| "metrics": { | ||
jefchien marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "metrics_collected": { | ||
| "jmx": { | ||
| "jvm": { | ||
| "measurement": [ | ||
| "jvm.classes.loaded", | ||
| "jvm.memory.pool.used", | ||
| "jvm.operating.system.total.swap.space.size", | ||
| "jvm.operating.system.system.cpu.load", | ||
| "jvm.operating.system.process.cpu.load", | ||
| "jvm.operating.system.free.swap.space.size", | ||
| "jvm.operating.system.total.physical.memory.size", | ||
| "jvm.operating.system.free.physical.memory.size", | ||
| "jvm.operating.system.open.file.descriptor.count", | ||
| "jvm.operating.system.available.processors", | ||
jefchien marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "jvm.threads.count", | ||
| "jvm.memory.heap.used", | ||
| "jvm.memory.nonheap.init", | ||
| "jvm.threads.daemon" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "metrics_destinations": { | ||
| "cloudwatch": { } | ||
| } | ||
| } | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.