-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use default value when -otelconfig option not given (#894)
- Loading branch information
1 parent
62d92bc
commit a8302f5
Showing
7 changed files
with
104 additions
and
102 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: MIT | ||
|
||
package paths | ||
|
||
const ( | ||
COMMON_CONFIG = "common-config.toml" | ||
JSON = "amazon-cloudwatch-agent.json" | ||
TOML = "amazon-cloudwatch-agent.toml" | ||
YAML = "amazon-cloudwatch-agent.yaml" | ||
ENV = "env-config.json" | ||
AGENT_LOG_FILE = "amazon-cloudwatch-agent.log" | ||
//TODO this CONFIG_DIR_IN_CONTAINER should change to something indicate dir, keep it for now to avoid break testing | ||
CONFIG_DIR_IN_CONTAINER = "/etc/cwagentconfig" | ||
) | ||
|
||
var ( | ||
JsonConfigPath string | ||
JsonDirPath string | ||
EnvConfigPath string | ||
TomlConfigPath string | ||
CommonConfigPath string | ||
YamlConfigPath string | ||
AgentLogFilePath string | ||
TranslatorBinaryPath string | ||
AgentBinaryPath string | ||
) |
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