Skip to content

Commit

Permalink
Remove duplicate option and minor documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raags committed Jan 4, 2021
1 parent d01fdd6 commit 508c4ed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ecs_container_exporter/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,6 @@ def shutdown(sig_number, frame):
help='Change exporter listen port')
@click.option('--use-statsd', envvar='USE_STATSD', is_flag=True, type=bool, default=False,
help='Emit metrics to statsd instead of starting Prometheus exporter')
@click.option('--statsd-port', envvar='STATSD_PORT', type=int, default=None,
help='Override Stasd Port')
@click.option('--statsd-host', envvar='STATSD_HOST', type=str, default='localhost',
help='Override Stasd Host')
@click.option('--statsd-port', envvar='STATSD_PORT', type=int, default=8125,
Expand All @@ -302,8 +300,7 @@ def shutdown(sig_number, frame):
@click.option('--exclude', envvar='EXCLUDE', type=str, default=None,
help='Comma seperated list of container names to exclude, or use env var EXCLUDE')
@click.option('--interval', envvar='INTERVAL', type=int, default=60,
help='Stats collection and aggregation interval in seconds.'
'Stats are sampled in this interval and aggregated(specifically for CPU stats)')
help='Stats collection and aggregation interval in seconds (specifically for CPU stats)'
@click.option('--log-level', envvar='LOG_LEVEL', type=str, default='INFO',
help='Log level, default: INFO')
def main(
Expand Down

0 comments on commit 508c4ed

Please sign in to comment.