VictoriaMetrics/app
Aliaksandr Valialkin dfc67aedcb
lib/license: cleanups and prettifications for log messages and docs related to licensing
- Make more clear the docs at docs/enterprise.md, so readers could figure out faster
  on how to obtain enterprise key and how to pass it to VictoriaMetrics Enterprise components.

- Fix examples at docs/enterprise.md, which were referring to non-existing `-license-file` command-line flag.
  The `-licenseFile` command-line flag must be used instead.

- Improve the description of `-license*` command-line flags, so users could understand
  faster how to use them.

- Improve the warning message, which is emitted when the deprecated -eula command-line flag is passed,
  so the user could figure out how to switch faster to -license* command-line flags.

- Disallow running VictoriaMetrics components with both -license and -licenseFile command-line flags.

- Disallow running VictoriaMetrics components when -licensFile points to an empty file.

- Consistently use the phrase "This flag is available only in Enterprise binaries" across
  all the enterprise-specific command-line flags.

- Remove unneeded level of indirection for `noLicenseMessage` and `expiredMessage` string contants
  in order to improve code readability and maintainability.

- Remove unneded `return` statements after `logger.Fatalf()` calls, since these calls exit the app and never return.

- Make sure that the info log message about successful license verification is emitted
  when the license is verified successfully. Previously the error message could be logged
  when the license payload is invalid or if it misses some required features.
2023-10-16 12:51:37 +02:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-07-06 21:36:28 -07:00
vlinsert lib/logstorage: follow-up for 8a23d08c21 2023-10-02 20:38:00 +02:00
vlselect app/vmui: small UX enhancements 2023-10-16 12:39:32 +02:00
vlstorage lib/logstorage: follow-up for 8a23d08c21 2023-10-02 20:38:00 +02:00
vmagent lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 12:51:37 +02:00
vmalert lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 12:51:37 +02:00
vmauth lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 12:51:37 +02:00
vmbackup lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 12:51:37 +02:00
vmbackupmanager lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 12:51:37 +02:00
vmctl go.mod: increase the minimum supported Go version from Go1.19 to Go1.20 2023-09-07 12:18:12 +02:00
vmgateway lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 12:51:37 +02:00
vminsert app/(vminsert|vmagent): fix label names for newrelic metrics 2023-10-05 15:08:07 +02:00
vmrestore lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 12:51:37 +02:00
vmselect app/vmui: small UX enhancements 2023-10-16 12:39:32 +02:00
vmstorage lib/storage: stop exposing vm_merge_need_free_disk_space metric 2023-09-25 17:00:14 +02:00
vmui app/vmui: small UX enhancements 2023-10-16 12:39:32 +02:00