Skip to content

Commit

Permalink
NH-35052: confirm reporting to AppOptics uses correct trusted cert
Browse files Browse the repository at this point in the history
- [JIRA](https://swicloud.atlassian.net/browse/NH-35052)
- make config files visible to `ApplicationClassLoader`
  • Loading branch information
cleverchuk committed Mar 7, 2023
1 parent e73f4c6 commit fd74f3f
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 1 deletion.
24 changes: 24 additions & 0 deletions bootstrap/src/main/resources/ao-collector.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
-----BEGIN CERTIFICATE-----
MIID8TCCAtmgAwIBAgIJAMoDz7Npas2/MA0GCSqGSIb3DQEBCwUAMIGOMQswCQYD
VQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5j
aXNjbzEVMBMGA1UECgwMTGlicmF0byBJbmMuMRUwEwYDVQQDDAxBcHBPcHRpY3Mg
Q0ExJDAiBgkqhkiG9w0BCQEWFXN1cHBvcnRAYXBwb3B0aWNzLmNvbTAeFw0xNzA5
MTUyMjAxMzlaFw0yNzA5MTMyMjAxMzlaMIGOMQswCQYDVQQGEwJVUzETMBEGA1UE
CAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzEVMBMGA1UECgwM
TGlicmF0byBJbmMuMRUwEwYDVQQDDAxBcHBPcHRpY3MgQ0ExJDAiBgkqhkiG9w0B
CQEWFXN1cHBvcnRAYXBwb3B0aWNzLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAOxO0wsGba3iI4r3L5BMST0rAO/gGaUhpQre6nRwVTmPCnLw1bmn
GdiFgYv/oRRwU+VieumHSQqoOmyFrg+ajGmvUDp2WqQ0It+XhcbaHFiAp2H7+mLf
cUH6S43/em0WUxZHeRzRupRDyO1bX6Hh2jgxykivlFrn5HCIQD5Hx1/SaZoW9v2n
oATCbgFOiPW6kU/AVs4R0VBujon13HCehVelNKkazrAEBT1i6RvdOB6aQQ32seW+
gLV5yVWSPEJvA9ZJqad/nQ8EQUMSSlVN191WOjp4bGpkJE1svs7NmM+Oja50W56l
qOH5eWermr/8qWjdPlDJ+I0VkgN0UyHVuRECAwEAAaNQME4wHQYDVR0OBBYEFOuL
KDTFhRQXwlBRxhPqhukrNYeRMB8GA1UdIwQYMBaAFOuLKDTFhRQXwlBRxhPqhukr
NYeRMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAJQtH446NZhjusy6
iCyvmnD95ybfNPDpjHmNx5n9Y6w9n+9y1o3732HUJE+WjvbLS3h1o7wujGKMcRJn
7I7eTDd26ZhLvnh5/AitYjdxrtUkQDgyxwLFJKhZu0ik2vXqj0fL961/quJL8Gyp
hNj3Nf7WMohQMSohEmCCX2sHyZGVGYmQHs5omAtkH/NNySqmsWNcpgd3M0aPDRBZ
5VFreOSGKBTJnoLNqods/S9RV0by84hm3j6aQ/tMDIVE9VCJtrE6evzC0MWyVFwR
ftgwcxyEq5SkiR+6BCwdzAMqADV37TzXDHLjwSrMIrgLV5xZM20Kk6chxI5QAr/f
7tsqAxw=
-----END CERTIFICATE-----
41 changes: 41 additions & 0 deletions bootstrap/src/main/resources/solarwinds-apm-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"agent.serviceKey": "",
"agent.logging": "info",
"agent.jdbcInstAll": false,
"agent.sqlSanitize": 1,
"monitor.jmx.scopes": {
"java.lang:type=MemoryPool,*": [
"Usage"
],
"java.lang:type=Memory": [
"HeapMemoryUsage",
"NonHeapMemoryUsage"
],
"java.lang:type=GarbageCollector,*": [
"CollectionTime"
],
"java.lang:type=Threading": [
"ThreadCount"
],
"java.lang:type=OperatingSystem": [
"ProcessCpuTime",
"AvailableProcessors",
"ProcessCpuLoad"
],
"java.lang:type=Runtime,*": [
"Uptime"
]
},
"monitor.jmx.enable": true,
"profiler": {
"enabled": false,
"excludePackages": [
"java",
"javax",
"com.sun",
"sun",
"sunw"
],
"interval": 20
}
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ subprojects {
bytebuddy : "1.12.10",
guava : "30.1-jre",
appopticsCore : "7.8.1",
agent : "0.15.0", // the custom distro agent version
agent : "0.15.1-alpha", // the custom distro agent version
autoservice : "1.0.1",
]
versions.appopticsMetrics = "${versions.appopticsCore}" // they share the same version now
Expand Down

0 comments on commit fd74f3f

Please sign in to comment.