aws / amazon-cloudwatch-agent

CloudWatch Agent enables you to collect and export host-level metrics and logs on instances running Linux or Windows server.
MIT License
436 stars 197 forks source link

Expand JMX configuration options in JSON schema #1213

Closed jefchien closed 3 months ago

jefchien commented 3 months ago

Description of the issue

As part of an effort to support JMX on container environments, we need to expand the configuration to allow for JMX configurations within Application Signals and Container Insights.

Description of changes

Updates the JSON schema to support the new configuration. See translator/config/sampleSchema/validLogsWithJMX.json for sample valid configuration.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Adds tests for the schema.

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint