You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/root.go
-24Lines changed: 0 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -80,34 +80,10 @@ func init() {
80
80
log.Error(err)
81
81
}
82
82
83
-
rootCmd.PersistentFlags().StringVar(&conf.Application.CredentialsFile, "credentialsFile", "credentials.yaml", "The file with the AWS Credentials configuration")
rootCmd.PersistentFlags().StringSliceVar(&conf.Application.MetricsFiles, "metricsFiles", []string{"metrics.yaml"}, "Metrics queries files, the file or files with the metrics queries. example: --metricsFiles ~/tmp/queries/m1.yaml --metricsFiles ~/tmp/queries/m2.yml")
Copy file name to clipboardExpand all lines: docs/server.md
-7Lines changed: 0 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@ server: # This is related to the http service conf
18
18
application: # This is related to the application behavior
19
19
metricStatPeriod: 5m# Type: time.Duration, Defined the global period of time .see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricStat.html
20
20
metricTimeWindow: 10m# Type: time.Duration, Defined the time windows between the StartTime and EndTime. see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html
21
-
credentialsFile: credentials.yaml # Type: string, Define the location/path with the file that could contain the different AWS credentials information
22
21
metricsFiles: # Type: Array, List of files with the definitions of metrics queries
23
22
- metrics.yaml # Type: string, Part of the array list with the location/path of file with the metrics queries in the format defined in metrics.md file
24
23
```
@@ -36,12 +35,6 @@ for **metricStatPeriod and metricTimeWindow**
"AWS_SHARED_CREDENTIALS_FILE": "testdata/default/credentials", // This is very important to avoid the use of your own credentials file ~.aws/credentials
0 commit comments