mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
4037b1cd9e
* Introduce metrics in the http-json service changelog_begin [HTTP/JSON API] - metrics reporting can now be chosen via the command line option --metrics-reporter (currently hidden), valid options are console, csv://, graphite:// and prometheus:// - metrics reporting interval can also now be chosen via a command line option --metrics-reporting-interval (currently hidden) changelog_end * Move MetricsReporter and it's dependencies into //ledger/metrics * Restore non-ugly formatting for that one section in Endpoints.scala * Update ledger/sandbox-common/src/test/lib/scala/platform/sandbox/cli/CommonCliSpecBase.scala Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com> * Hide metrics option for http-json * Propagate context exception for the parseUri function in MetricsReporter.scala * Move cliHint value above parseUri function to have a better structure (it's used once before it's defined and once after it's defined, which is weird to me) * Use better value name than optMr & optFd in cliopts Metrics.scala * Remove import order changes & whitespace changes * Revert usage of Nanoseconds for conversion from scala duration to java duration to usage of Seconds * Shorten hideIfRequested function * Fix another rearranged import * Fix another whitespace removal * Readd metrics cli option to sandbox after refactoring * Add missing return type annotation for invalidRead in MetricsReporter * Readd newline in https OptionParser.scala * Remove unecessary import * Update ledger/sandbox-common/src/main/scala/platform/sandbox/cli/CommonCliBase.scala Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com> * Align setter & config name for metricsReportingInterval setting too in CommonCliBase.scala * Rename http_json_api in Metrics.scala of metrics project to HttpJsonApi * Reformat CommonCliBase.scala of sandbox-common project * Fix CommonCliSpecBase test of sandbox Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com> Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com> |
||
---|---|---|
.. | ||
src/main/scala/com/daml/http | ||
BUILD.bazel |