aws-samples / aws-samples/prometheus-for-ecs

How to make config-reloader to fetch Parameters from AWS store with names other than the deafault names

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
61
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Hi, first of all thanks a lot for the solution,

I implemented the "deploy-prometheus" solution 2 times in the same AWS account (for 2 different ECS clusters).
And I have the following issue,
Even that for the 2nd implementation I have renamed the 2 Parameters in AWS SSM store to "ECS-Prometheus-Configuration2" and "ECS-ServiceDiscovery-Namespaces2"
and also I have amend the same names to the task-definition file of the config-reloader

```
like this:
{
"name":"PROMETHEUS_CONFIG_PARAMETER_NAME",
"value":"ECS-Prometheus-Configuration2"
},
{
"name":"DISCOVERY_NAMESPACES_PARAMETER_NAME",
"value":"ECS-ServiceDiscovery-Namespaces2"
}

```
still I see from the logs of the 2nd implementation that it is loading the default Parameters from AWS SSM store that I am using for the 1st implementation.
How can I make the config-reloader to fetch Parameters that have names other than the default given names?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.