Skip to content
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

Gangams/cost optimizations public preview #860

Merged
merged 305 commits into from
Nov 28, 2022
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
305 commits
Select commit Hold shift + click to select a range
bd33dd9
reverting to older version (#487)
rashmichandrashekar Jan 8, 2021
d5164d2
Gangams/add fbsettings configurable via configmap (#486)
ganga1980 Jan 11, 2021
908d9b0
Gangams/jan agent release tasks (#484)
ganga1980 Jan 11, 2021
8ede536
remove per container logs in ci (#488)
ganga1980 Jan 11, 2021
37e5218
updates for ciprod01112021 release (#489)
ganga1980 Jan 12, 2021
3c97af6
new yaml files (#491)
deagraw Jan 14, 2021
90e1a5b
Use cloud-specific instrumentation keys (#494)
daweim0 Jan 22, 2021
98b6d77
upgrade apt to latest version (#492)
ganga1980 Jan 22, 2021
ddcd3ee
Gangams/add support for extension msi for arc k8s cluster (#495)
ganga1980 Jan 27, 2021
0cd99e4
Gangams/arm template arc k8s extension (#496)
ganga1980 Jan 27, 2021
13521c5
Gangams/aks monitoring via policy (#497)
ganga1980 Feb 1, 2021
e4f36c7
revert to use operatingSystem from osImage for node os telemety (#498)
ganga1980 Feb 1, 2021
ec15ac1
Container log v2 schema changes (#499)
vishiy Feb 4, 2021
6031be8
Add priority class to the daemonsets (#500)
Michael-Sinz Feb 9, 2021
4212e1a
fix node metric issue (#502)
ganga1980 Feb 11, 2021
24644ce
Bug fixes for Feb release (#504)
rashmichandrashekar Feb 18, 2021
e56104c
Gangams/feb 2021 agent bug fix (#505)
ganga1980 Feb 23, 2021
e00b2aa
changes for release -ciprod02232021 (#506)
vishiy Feb 23, 2021
31f0e5f
Gangams/e2e test framework (#503)
ganga1980 Feb 23, 2021
91f954f
scrape new kubelet pod count metric name (#508)
gracewehner Feb 25, 2021
4a8ff23
Adding explicit json output to az commands as the script fails if az …
nyuen Mar 20, 2021
512e5c0
Gangams/arc proxy contract and token renewal updates (#511)
ganga1980 Mar 22, 2021
6b48b6a
doc updates for microsoft charts repo release (#512)
ganga1980 Mar 22, 2021
d93c680
Update enable-monitoring.sh (#514)
seenu433 Mar 23, 2021
4d386ce
Prometheus scraping from sidecar and OSM changes (#515)
rashmichandrashekar Mar 25, 2021
16936aa
add liveness timeout for exec (#518)
vishiy Mar 26, 2021
12964be
chart and other updates (#519)
rashmichandrashekar Mar 26, 2021
73548c0
Saaror osmdoc (#523)
saaror Apr 5, 2021
fea4ffa
telemetry bug fix (#527)
rashmichandrashekar Apr 6, 2021
e31cc87
Fix conflicting logrotate settings (#526)
gracewehner Apr 6, 2021
ca8fa12
bug fix (#528)
rashmichandrashekar Apr 6, 2021
1f6f6d2
Gangams/arc ev2 deployment (#522)
ganga1980 Apr 7, 2021
97678b6
added liveness and telemetry for telegraf (#517)
daweim0 Apr 9, 2021
63ea896
Windows metric fix (#530)
daweim0 Apr 13, 2021
42730a4
OSM doc update (#533)
rashmichandrashekar Apr 13, 2021
7ad52cd
Adding MDM metrics for threshold violation (#531)
rashmichandrashekar Apr 14, 2021
34d1f64
Rashmi/april agent 2021 (#538)
rashmichandrashekar Apr 21, 2021
fcc5048
add Read_from_Head config for all fluentbit tail plugins (#539)
gracewehner Apr 21, 2021
01e5529
fix programdata mount issue on containerd win nodes (#542)
ganga1980 Apr 22, 2021
b5d074a
Update sidecar mem limits (#541)
rashmichandrashekar Apr 22, 2021
5feeb3e
David/release 4 22 2021 (#544)
daweim0 Apr 22, 2021
1b2da4a
1m, 1m, 1s by default (#543)
daweim0 Apr 23, 2021
83e5816
David/aad stage 1 release (#556)
daweim0 May 12, 2021
8beabe3
Update ReleaseNotes.md (#558)
ganga1980 May 13, 2021
3805f44
Add wait time for telegraf and also force mdm egress to use tls 1.2 (…
vishiy May 19, 2021
7c5087f
partially disabled telegraf liveness probe check, we'll still have te…
daweim0 May 19, 2021
0d33489
changes for 05202021 release (#563)
daweim0 May 20, 2021
486acfd
Rashmi/jedi wireserver (#566)
rashmichandrashekar May 21, 2021
0fa350e
Update ReadMe.md (#565)
saaror May 21, 2021
c707539
Gangams/aad stage2 full switch to mdsd (#559)
ganga1980 May 22, 2021
959b455
Send perf metrics to MDM from windows daemonset (#568)
rashmichandrashekar May 27, 2021
e4da519
updating json gem to address CVE-2020-10663 (#567)
daweim0 May 28, 2021
49486a8
update recommended alerts readme (#570)
daweim0 May 28, 2021
ef23fc6
trying again to fix the json gem (#571)
daweim0 May 28, 2021
cfa804a
Addressing PR comments for - https://github.com/microsoft/Docker-Prov…
rashmichandrashekar Jun 1, 2021
0d3e4a1
Mem_Buf_limit is configurable via ConfigMap (#574)
tsubasaxZZZ Jun 10, 2021
50b99ff
add log rotation settings for fluentd logs (#577)
ganga1980 Jun 11, 2021
4cebe73
Gangams/release 06112021 (#578)
ganga1980 Jun 11, 2021
adabaf9
release note update (#579)
ganga1980 Jun 11, 2021
0c70120
Make sidecar fluentbit chunk size configurable (#573)
rashmichandrashekar Jun 14, 2021
a7a2d73
Fix vulnerabilities (#583)
vishiy Jun 15, 2021
154c11d
Windows build optimization (#582)
rashmichandrashekar Jun 16, 2021
68e90b6
fix windows build failure due to msys2 version
vishiy Jun 23, 2021
cf68a4f
Fix telegraf startup issue when endpoint is unreachable (#587)
rashmichandrashekar Jun 23, 2021
cd22753
revert fbit tail plugins defaults to std defaults (#586)
ganga1980 Jun 23, 2021
8c41a42
fixed another bug (#593)
daweim0 Jul 1, 2021
00f1a0d
feat: add new metrics to MDM for allocatable % calculation of cpu and…
bragi92 Jul 9, 2021
e1f9978
update adx sdk for perf issue (#601)
vishiy Jul 12, 2021
c9ade1b
remove md check
vishiy Jul 13, 2021
6e2732e
Gangams/release notes update for hotfix (#596)
ganga1980 Jul 13, 2021
6df299f
Cherry picking hotfix changes to ci_dev (#605)
rashmichandrashekar Jul 14, 2021
3b38337
release changes (#607)
rashmichandrashekar Jul 15, 2021
bcea7fc
Gangams/aad stage3 msi auth (#585)
ganga1980 Jul 19, 2021
13eb3a6
Gangams/remove chart version dependency (#589)
ganga1980 Jul 20, 2021
63f22d9
Gangams/july 2021 release tasks 3 (#613)
ganga1980 Jul 23, 2021
902c939
remove un-used output plugin (#614)
vishiy Jul 23, 2021
a76905a
fix telegraf telemetry and improve fluentd liveness (#611)
ganga1980 Jul 23, 2021
52612b5
Gangams/july 2021 release tasks 2 (#612)
ganga1980 Jul 23, 2021
5b5d048
Fix out_oms.go dependency vulnerabilities (#623)
gracewehner Aug 13, 2021
2a0f4ec
revert libsystemd0 update (#616)
ganga1980 Aug 13, 2021
45f35ae
updates for ci-prod release instructions (#619)
ganga1980 Aug 13, 2021
10b2ea6
cherry pick changes from ci_prod (#622)
ganga1980 Aug 13, 2021
ad31c55
Support az login for passwords starting with dash ('-') (#626)
vladimir-babichev Aug 14, 2021
57beb59
Gangams/add telemetry fbit settings (#628)
ganga1980 Aug 17, 2021
cf4775a
check onboarding status (#629)
ganga1980 Aug 19, 2021
da55fe5
Gangams/arc k8s conformance test updates (#617)
ganga1980 Aug 19, 2021
e39b83b
upgrade golang version for windows in pipeline build and locally (#630)
gracewehner Aug 20, 2021
3a02a4f
Updating a link in Readme.md (#632)
daweim0 Aug 25, 2021
e56c74b
Updating omsagent yaml to have parity with omsagent yaml file in AKS …
rashmichandrashekar Aug 25, 2021
d2817cb
Unit test tooling (#625)
daweim0 Aug 27, 2021
32f958b
run unit tests after a merge too (#634)
daweim0 Aug 27, 2021
c4a3bbc
flag stale PRs & issues
vishiy Aug 31, 2021
beb7f42
Adding script to collect logs (for troubleshooting) (#636)
daweim0 Sep 1, 2021
01e8178
Sarah/ev2 (#640)
sarahpeiffer Sep 11, 2021
ef7cb89
documenting fbit tail plugin configmap settings. (#638)
daweim0 Sep 13, 2021
6b42f13
Install unzip package on shell extension (#642)
sarahpeiffer Sep 13, 2021
7ef07e1
Changing installation in ev2 script (#644)
sarahpeiffer Sep 14, 2021
a025ce7
Adjust release pipeline to use cdpx acr (#647)
sarahpeiffer Sep 21, 2021
c6bc993
Sarah/ev2 prod (#649)
sarahpeiffer Sep 22, 2021
5e37947
CDPX repo naming change (#652)
sarahpeiffer Sep 23, 2021
a36d8df
Sarah/ev2 update (#654)
sarahpeiffer Sep 27, 2021
fdc99f6
change tag syntax for mcr repo check (#655)
sarahpeiffer Sep 28, 2021
6292218
Gangams/optimize win livenessprobe (#653)
ganga1980 Sep 28, 2021
cfacf39
Gangams/addon token adapter image tag to telemetry (#656)
ganga1980 Sep 29, 2021
ae9ebd7
Sarah/ev2 helm (#658)
sarahpeiffer Sep 30, 2021
a6c6c4a
Sarah/ev2 pipeline (#661)
sarahpeiffer Oct 4, 2021
9e2df4d
add charts directory to build artifacts (#662)
sarahpeiffer Oct 4, 2021
f1d0e43
Sarah/remove cdpx creds (#664)
sarahpeiffer Oct 6, 2021
6ff747c
chart updates for rbac api version change (#660)
ganga1980 Oct 7, 2021
f77587a
proxy support (for non-aks) (#665)
daweim0 Oct 8, 2021
34f5c52
Gangams/agent release ciprod10082021 & win-ciprod10082021 (#666)
ganga1980 Oct 8, 2021
c4d2254
use buildcommand for prod pipeline (#668)
sarahpeiffer Oct 8, 2021
3b008e5
fixed merge issues. (#671) (#672)
ganga1980 Oct 11, 2021
d16d84b
changes related to mdsd version update (#673) (#674)
ganga1980 Oct 11, 2021
ce65f2c
Sarah/enable metrics (#675)
sarahpeiffer Oct 12, 2021
608f92e
Gangams/chart updates oct2021 release (#676)
ganga1980 Oct 13, 2021
ab98c4b
Gangams/msi mode mdsd crash fix (#677)
ganga1980 Oct 13, 2021
a105a00
update to use extension GA api version (#679)
ganga1980 Oct 20, 2021
87ff281
Gangams/arm template msi onboarding (#659)
ganga1980 Oct 20, 2021
ac5dec3
Gangams/conf test updates to handle sidecar (#681)
ganga1980 Oct 22, 2021
0bd3056
Fix scan break due to latest trivy changes
vishiy Oct 26, 2021
761b641
Anjohans/configurable database name (#663)
asjddd Oct 26, 2021
fc955b3
Gangams/troubelshooting script for arc k8s (#682)
ganga1980 Oct 27, 2021
7c9cdc8
Sarah/remove cdpx creds (#685)
sarahpeiffer Nov 2, 2021
f75eea6
fix: subtract number instead of string + update fluentd version 1.14.…
bragi92 Nov 5, 2021
15ee6c5
Faster Linux builds (part 1) (#687)
daweim0 Nov 5, 2021
b4ca054
Sarah/fluentbit windows log (#688)
sarahpeiffer Jan 13, 2022
5b9988c
default to port 10250 & containerd for linux agent (#699)
ganga1980 Jan 21, 2022
4c460c6
Updating pod annotation for latest agent version (#697)
rashmichandrashekar Jan 24, 2022
f2c2904
fix windows build failure due to msys2 version (#700)
bragi92 Jan 25, 2022
78440cf
Jan agent tasks (#698)
gracewehner Jan 28, 2022
3dce72f
remove v1 fallback hidden option (#705)
ganga1980 Jan 28, 2022
2726d01
collect telemetry containerlog records with emptystamp (#703)
ganga1980 Jan 28, 2022
28599b3
Fixing telegraf bug for placeholder name (#706)
rashmichandrashekar Jan 28, 2022
7452ee2
Gangams/jan 2022 release tasks 3 (#702)
ganga1980 Jan 28, 2022
bfc41a4
Gangams/jan 2022 release tasks 2 (#701)
ganga1980 Jan 29, 2022
ec2b09f
release updates for ciprod01312022 & win-ciprod01312022release (#707)
ganga1980 Jan 31, 2022
5f41c5e
fix logger exception (#709)
ganga1980 Feb 1, 2022
7ff6c02
Gangams/chart version update for jan release (#710)
ganga1980 Feb 2, 2022
d6e9272
fix agentversion annotation issue in chart (#712)
ganga1980 Feb 3, 2022
918ad11
adx bug + misc (#714)
vishiy Feb 11, 2022
2dbc4f1
fix build break (#715)
vishiy Feb 15, 2022
7389a1b
Explicitly use win-2019 to unblock windows PRs builds
vishiy Mar 1, 2022
ec3d2ef
Fixing telegraf vulnerability (#716)
rashmichandrashekar Mar 1, 2022
798bd9f
cherry picked changes from 03112022 release (#719)
sarahpeiffer Mar 14, 2022
1167797
Gangams/http proxy support (#717)
ganga1980 Mar 14, 2022
f9209c4
build multi-arch images (#704)
pfrcks Mar 14, 2022
8019731
add missing artifacts (#720)
pfrcks Mar 15, 2022
b58ff42
Gangams/msi onboarding arm template updates for AKS (#721)
ganga1980 Mar 16, 2022
15e8446
minor fixes (#722)
pfrcks Mar 17, 2022
6d31928
specify go patch version (#723)
pfrcks Mar 17, 2022
e3c0ad1
User/amagraw/ciprod release 20220317 (#724)
pfrcks Mar 17, 2022
e05e75e
Remove health type from DCR onboarding & add private link support for…
ganga1980 Mar 19, 2022
78cd76d
check platform specific tags (#730) (#731)
pfrcks Mar 21, 2022
90707c7
PodReadyPercentage metric bug fix (#734)
gracewehner Mar 24, 2022
f253e4f
update windows to ruby 2.7 (#732)
pfrcks Mar 28, 2022
cb1b659
Improve CI/CD for multi-arch (#733)
pfrcks Mar 29, 2022
f0266dc
Gangams/ts updates for msi (#736)
ganga1980 Mar 29, 2022
d76f2b2
Sarah/health deprecation (#735)
sarahpeiffer Mar 30, 2022
11d1c7a
check platform specific tags (#738)
pfrcks Apr 4, 2022
d12827b
Gangams/msi test instructions (#739)
ganga1980 Apr 4, 2022
9da85dc
Add CI Windows Build to MultiArch Dev pipeline (#740)
pfrcks Apr 6, 2022
d02670a
Add Windows phase (#741)
pfrcks Apr 8, 2022
38f3d92
Sarah/add onboarding templates (#742)
sarahpeiffer Apr 12, 2022
ca3fdcb
fix download (#749)
pfrcks Apr 26, 2022
f6c1deb
force run trivy stage (#745)
pfrcks Apr 27, 2022
9c64f93
update telegraf to 1.22.2 to fix vulns (#752)
pfrcks May 4, 2022
52c7fe4
Gangams/arc k8s aad msi auth (#743)
ganga1980 May 6, 2022
0da25a7
Gangams/ws2022 support (#756)
ganga1980 May 9, 2022
0ee0c60
CA Cert Fix for Mariner Hosts in Air Gap (#751)
gracewehner May 9, 2022
b7a84ea
add cifs & fuse file systems to ignore list (#750)
vishiy May 11, 2022
e7c7237
Data collection script (#759)
MSNina123456 May 18, 2022
34b05c6
Microsoft mandatory file (#763)
microsoft-github-policy-service[bot] May 18, 2022
31e320b
Adding v2 schema options (#762)
austonli May 19, 2022
b9520c6
Agent release for ciprod05192022 and win-ciprod05192022 (#765)
jatakiajanvi12 May 19, 2022
1dc7209
trivy image scan (#770)
pfrcks Jun 1, 2022
2345f29
Prometheus sidecar memory optimization (#769)
jatakiajanvi12 Jun 1, 2022
e1b0ccf
Gangams/fix telegraf issue (#773)
ganga1980 Jun 3, 2022
315470a
Make metrics endpoint variable on ArcA cluster (#772)
MSFTXiangyu Jun 9, 2022
c3136e4
add integration for azure subnet ip usage (#774)
vishiy Jun 13, 2022
96fdadb
Gangams/rs hyper scale 2022 ready (#753)
ganga1980 Jun 14, 2022
5f2900a
changes related to june 2022 release (#778)
ganga1980 Jun 14, 2022
fd7577b
Gangams/ARM Template updates for the DCR API version and stream group…
ganga1980 Jun 22, 2022
7e7a2b2
Bump Newtonsoft.Json in /build/windows/installer/certificategenerator…
dependabot[bot] Jun 27, 2022
1da9eac
Gangams/fix file access exceptions (#787)
ganga1980 Jun 27, 2022
d83ddf8
Adhere to containers security guidance (#783)
pfrcks Jun 27, 2022
a9ec7ee
update to DCR & DCR-A api version 2021-04-01 (#789)
ganga1980 Jun 29, 2022
5c2a959
fix telegraf vulns (#795)
pfrcks Jul 22, 2022
eb75489
Address vulnerabilities through package updates (#794)
pfrcks Jul 22, 2022
053c68d
Gangams/fix log loss inode reuse (#796)
ganga1980 Jul 25, 2022
870da7a
merge conflict (#799)
bragi92 Jul 28, 2022
f29033a
update vulns (#800)
pfrcks Jul 29, 2022
1da6c4c
Gangams/fix permission assignments in test scripts (#802)
ganga1980 Jul 29, 2022
eead923
wip: data collection interval
ganga1980 Jul 30, 2022
f523ef8
wip:namespace filtering
ganga1980 Jul 30, 2022
da4b67d
wip
ganga1980 Jul 31, 2022
6b20eb4
wip
ganga1980 Jul 31, 2022
288f58e
fix naming
ganga1980 Jul 31, 2022
d5df73c
Gangams/rs vpa (#801)
ganga1980 Aug 1, 2022
871d06d
resolve merge conflicts
ganga1980 Aug 4, 2022
c39e64d
rename variable names
ganga1980 Aug 4, 2022
f430508
rename variable names
ganga1980 Aug 4, 2022
5cda9a1
add telemetry
ganga1980 Aug 4, 2022
5c27b85
fix bugs
ganga1980 Aug 4, 2022
4dcd416
fix bugs
ganga1980 Aug 4, 2022
6b8c858
fix bugs
ganga1980 Aug 4, 2022
00ec4ed
fix bug
ganga1980 Aug 4, 2022
cabaf4b
fix bug
ganga1980 Aug 4, 2022
dd94fa1
fix bugs
ganga1980 Aug 4, 2022
2e3b054
fix bug
ganga1980 Aug 5, 2022
a134c09
add known cve to ignore list
ganga1980 Aug 5, 2022
071ac72
more optimizations
ganga1980 Aug 6, 2022
8149677
refactor extensionSettings
ganga1980 Aug 6, 2022
29b3a30
fix minor issue
ganga1980 Aug 7, 2022
d836966
arm templates for arc k8s
ganga1980 Aug 7, 2022
177872b
use total cache for ns filtering
ganga1980 Aug 7, 2022
7f86f9c
use the preview images for private preview release
ganga1980 Sep 12, 2022
ab3f4f3
merge latest prod branch
ganga1980 Sep 22, 2022
e568766
fix merge issues
ganga1980 Sep 22, 2022
eb6c689
fix merge issues
ganga1980 Sep 22, 2022
6aa115e
create dcr in cluster rg
ganga1980 Sep 22, 2022
56d0054
merge changes from latest ci_prod branch
ganga1980 Nov 17, 2022
9ba9fdb
update existing templates with data collection settings
ganga1980 Nov 18, 2022
fa68c37
implement namespaces filtering mode
ganga1980 Nov 18, 2022
f2865b5
implement namespaces filtering mode
ganga1980 Nov 18, 2022
b705bb4
implement namespaces filtering mode
ganga1980 Nov 18, 2022
dac996d
implement namespaces filtering mode
ganga1980 Nov 18, 2022
295b7d6
implement namespaces filtering mode
ganga1980 Nov 18, 2022
596d189
Merge branch 'ci_prod' into gangams/cost-optimizations-public-preview
ganga1980 Nov 19, 2022
83c183a
clean up
ganga1980 Nov 19, 2022
627b6e5
better naming
ganga1980 Nov 19, 2022
4417ef4
better naming
ganga1980 Nov 19, 2022
9ac14c3
better naming
ganga1980 Nov 19, 2022
ca62ee9
better naming
ganga1980 Nov 19, 2022
7e8ec2a
better naming
ganga1980 Nov 19, 2022
24d99b8
refactor code
ganga1980 Nov 20, 2022
2e891ca
add telemetry
ganga1980 Nov 20, 2022
1418302
update template params
ganga1980 Nov 21, 2022
5bb1ac6
fix pr feedback
ganga1980 Nov 21, 2022
64892c4
fix pr feedback
ganga1980 Nov 23, 2022
78b6ee6
make naming consistent
ganga1980 Nov 23, 2022
8bac75a
make naming consistent
ganga1980 Nov 23, 2022
278ed47
make naming consistent
ganga1980 Nov 23, 2022
8395cfa
make naming consistent
ganga1980 Nov 23, 2022
eae583e
make naming consistent
ganga1980 Nov 23, 2022
9f069d6
fix pr feedback
ganga1980 Nov 23, 2022
d4728be
fix pr feedback
ganga1980 Nov 23, 2022
2e282c4
fix renaming variable
ganga1980 Nov 24, 2022
6e91e49
add known cve to the ignore list
ganga1980 Nov 24, 2022
34cd310
minor log updates
ganga1980 Nov 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,30 @@
"metadata": {
"description": "Array of allowed syslog facilities"
}
},
"dataCollectionInterval": {
"type": "string",
"metadata": {
"description": "Data collection interval e.g. \"5m\" for metrics and inventory. Supported value range from 1m to 30m"
}
},
"nameSpacesFilteringModeForDataCollection": {
ganga1980 marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"metadata": {
"description": "Data collection Filtering Mode for the namespaces"
},
"allowedValues": [
"Off",
"Include",
"Exclude"
],
"defaultValue": "Off"
},
"namespacesForDataCollection": {
"type": "array",
"metadata": {
"description": "An array of Kubernetes namespaces for the data collection of inventory, events and metrics"
}
}
},
"variables": {
Expand Down Expand Up @@ -80,6 +104,13 @@
"streams": [
"Microsoft-ContainerInsights-Group-Default"
],
"extensionSettings": {
"dataCollectionSettings" : {
"interval": "[parameters('dataCollectionInterval')]",
"nameSpaceFilteringMode" : "[parameters('nameSpacesFilteringModeForDataCollection')]",
"nameSpaces": "[parameters('namespacesForDataCollection')]"
}
},
"extensionName": "ContainerInsights"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@
"<existingOrnew-tag-name2>": "<existingOrnew-tag-value2>",
"<existingOrnew-tag-nameN>": "<existingOrnew-tag-valueN>"
}
},
"dataCollectionInterval": {
"value" : "1m"
},
"nameSpacesFilteringModeForDataCollection": {
"value": "Off"
},
"namespacesForDataCollection": {
"value": [ "kube-system", "gatekeeper-system", "azure-arc" ]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,30 @@
"metadata": {
"description": "Array of allowed syslog facilities"
}
},
"dataCollectionInterval": {
"type": "string",
"metadata": {
"description": "Data collection interval e.g. \"5m\" for metrics and inventory. Supported value range from 1m to 30m"
}
},
"nameSpacesFilteringModeForDataCollection": {
"type": "string",
"metadata": {
"description": "Data collection Filtering Mode for the namespaces"
},
"allowedValues": [
"Off",
"Include",
"Exclude"
],
"defaultValue": "Off"
},
"namespacesForDataCollection": {
"type": "array",
"metadata": {
"description": "An array of Kubernetes namespaces for the data collection of inventory, events and metrics"
}
}
},
"variables": {
Expand Down Expand Up @@ -94,6 +118,13 @@
"streams": [
"Microsoft-ContainerInsights-Group-Default"
],
"extensionSettings": {
"dataCollectionSettings" : {
"interval": "[parameters('dataCollectionInterval')]",
"nameSpaceFilteringMode" : "[parameters('nameSpacesFilteringModeForDataCollection')]",
"nameSpaces": "[parameters('namespacesForDataCollection')]"
}
},
"extensionName": "ContainerInsights"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"<existingOrnew-tag-name2>": "<existingOrnew-tag-value2>",
"<existingOrnew-tag-nameN>": "<existingOrnew-tag-valueN>"
}
},
"dataCollectionInterval": {
"value" : "1m"
},
"nameSpacesFilteringModeForDataCollection": {
"value": "Off"
},
"namespacesForDataCollection": {
"value": [ "kube-system", "gatekeeper-system", "azure-arc" ]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,30 @@
"metadata": {
"description": "Array of allowed syslog facilities"
}
},
"dataCollectionInterval": {
"type": "string",
"metadata": {
"description": "Data collection interval e.g. \"5m\" for metrics and inventory. Supported value range from 1m to 30m"
}
},
"nameSpacesFilteringModeForDataCollection": {
"type": "string",
"metadata": {
"description": "Data collection Filtering Mode for the namespaces"
},
"allowedValues": [
"Off",
"Include",
sarahpeiffer marked this conversation as resolved.
Show resolved Hide resolved
"Exclude"
],
"defaultValue": "Off"
},
"namespacesForDataCollection": {
"type": "array",
"metadata": {
"description": "An array of Kubernetes namespaces for the data collection of inventory, events and metrics"
}
}
},
"variables": {
Expand Down Expand Up @@ -94,6 +118,13 @@
"streams": [
"Microsoft-ContainerInsights-Group-Default"
],
"extensionSettings": {
"dataCollectionSettings" : {
"interval": "[parameters('dataCollectionInterval')]",
"nameSpaceFilteringMode" : "[parameters('nameSpacesFilteringModeForDataCollection')]",
"nameSpaces": "[parameters('namespacesForDataCollection')]"
}
},
"extensionName": "ContainerInsights"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@
"<existingOrnew-tag-name2>": "<existingOrnew-tag-value2>",
"<existingOrnew-tag-nameN>": "<existingOrnew-tag-valueN>"
}
},
"dataCollectionInterval": {
"value" : "1m"
},
"nameSpacesFilteringModeForDataCollection": {
"value": "Off"
},
"namespacesForDataCollection": {
"value": [ "kube-system", "gatekeeper-system", "azure-arc" ]
}
}
}
13 changes: 9 additions & 4 deletions source/plugins/ruby/ApplicationInsightsUtility.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,15 @@ def initializeUtility()
if !aadAuthMSIMode.nil? && !aadAuthMSIMode.empty? && aadAuthMSIMode.downcase == "true".downcase
@@CustomProperties["aadAuthMSIMode"] = "true"
begin
if Dir.exist?('/etc/mdsd.d/config-cache/configchunks')
Dir.glob('/etc/mdsd.d/config-cache/configchunks/*.json') { |file|
if File.file?(file) && File.exist?(file) && File.foreach(file).grep(/LINUX_SYSLOGS_BLOB/).any?
@@CustomProperties["syslogEnabled"] = "true"
if Dir.exist?("/etc/mdsd.d/config-cache/configchunks")
Dir.glob("/etc/mdsd.d/config-cache/configchunks/*.json") { |file|
if File.file?(file) && File.exist?(file)
if File.foreach(file).grep(/LINUX_SYSLOGS_BLOB/).any?
@@CustomProperties["syslogEnabled"] = "true"
end
if File.foreach(file).grep(/ContainerInsightsExtension/).any? && File.foreach(file).grep(/dataCollectionSettings/).any?
@@CustomProperties["dataCollectionSettingsEnabled"] = "true"
end
end
}
end
Expand Down
Loading