Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.38 KB | None | 0 0
  1. root@mda-pixx:~# /usr/local/bin/prometheus --help
  2. usage: prometheus [<flags>]
  3.  
  4. The Prometheus monitoring server
  5.  
  6. Flags:
  7. -h, --help Show context-sensitive help (also try --help-long and --help-man).
  8. --version Show application version.
  9. --config.file="prometheus.yml"
  10. Prometheus configuration file path.
  11. --web.listen-address="0.0.0.0:9090"
  12. Address to listen on for UI, API, and telemetry.
  13. --web.read-timeout=5m Maximum duration before timing out read of the request, and closing idle connections.
  14. --web.max-connections=512 Maximum number of simultaneous connections.
  15. --web.external-url=<URL> The URL under which Prometheus is externally reachable (for example, if Prometheus is served via a reverse proxy). Used for generating relative and absolute links back to Prometheus itself. If the URL has
  16. a path portion, it will be used to prefix all HTTP endpoints served by Prometheus. If omitted, relevant URL components will be derived automatically.
  17. --web.route-prefix=<path> Prefix for the internal routes of web endpoints. Defaults to path of --web.external-url.
  18. --web.user-assets=<path> Path to static asset directory, available at /user.
  19. --web.enable-lifecycle Enable shutdown and reload via HTTP request.
  20. --web.enable-admin-api Enable API endpoints for admin control actions.
  21. --web.console.templates="consoles"
  22. Path to the console template directory, available at /consoles.
  23. --web.console.libraries="console_libraries"
  24. Path to the console library directory.
  25. --web.page-title="Prometheus Time Series Collection and Processing Server"
  26. Document title of Prometheus instance.
  27. --web.cors.origin=".*" Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com'
  28. --storage.tsdb.path="data/"
  29. Base path for metrics storage.
  30. --storage.tsdb.retention=STORAGE.TSDB.RETENTION
  31. [DEPRECATED] How long to retain samples in storage. This flag has been deprecated, use "storage.tsdb.retention.time" instead.
  32. --storage.tsdb.retention.time=STORAGE.TSDB.RETENTION.TIME
  33. How long to retain samples in storage. When this flag is set it overrides "storage.tsdb.retention". If neither this flag nor "storage.tsdb.retention" nor "storage.tsdb.retention.size" is set, the
  34. retention time defaults to 15d.
  35. --storage.tsdb.retention.size=STORAGE.TSDB.RETENTION.SIZE
  36. [EXPERIMENTAL] Maximum number of bytes that can be stored for blocks. Units supported: KB, MB, GB, TB, PB. This flag is experimental and can be changed in future releases.
  37. --storage.tsdb.no-lockfile
  38. Do not create lockfile in data directory.
  39. --storage.tsdb.allow-overlapping-blocks
  40. [EXPERIMENTAL] Allow overlapping blocks, which in turn enables vertical compaction and vertical query merge.
  41. --storage.tsdb.wal-compression
  42. Compress the tsdb WAL.
  43. --storage.remote.flush-deadline=<duration>
  44. How long to wait flushing sample on shutdown or config reload.
  45. --storage.remote.read-sample-limit=5e7
  46. Maximum overall number of samples to return via the remote read interface, in a single query. 0 means no limit.
  47. --storage.remote.read-concurrent-limit=10
  48. Maximum number of concurrent remote read calls. 0 means no limit.
  49. --rules.alert.for-outage-tolerance=1h
  50. Max time to tolerate prometheus outage for restoring "for" state of alert.
  51. --rules.alert.for-grace-period=10m
  52. Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period.
  53. --rules.alert.resend-delay=1m
  54. Minimum amount of time to wait before resending an alert to Alertmanager.
  55. --alertmanager.notification-queue-capacity=10000
  56. The capacity of the queue for pending Alertmanager notifications.
  57. --alertmanager.timeout=10s
  58. Timeout for sending alerts to Alertmanager.
  59. --query.lookback-delta=5m The maximum lookback duration for retrieving metrics during expression evaluations.
  60. --query.timeout=2m Maximum time a query may take before being aborted.
  61. --query.max-concurrency=20
  62. Maximum number of queries executed concurrently.
  63. --query.max-samples=50000000
  64. Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can
  65. return.
  66. --log.level=info Only log messages with the given severity or above. One of: [debug, info, warn, error]
  67. --log.format=logfmt Output format of log messages. One of: [logfmt, json]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement