mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
6f1e051648
* Integrate metrics for cache Centralizes the creation of instrumented caches in a single point and adds metrics coming from Caffeine into the mix. changelog_begin [Ledger API Server] if --max-state-value-cache-size is greater than zero, the following additional metrics will be recorded under the daml.kvutils.submission.validator.state_value_cache namespace: hits, misses, load_successes, load_failures, load_total_time, evictions and evicted_weight changelog_end * Fix Bazel build file formatting * Address https://github.com/digital-asset/daml/pull/6043#discussion_r427902339 * Address https://github.com/digital-asset/daml/pull/6043#discussion_r427904794 * Review DropwizardStatsCounter - address https://github.com/digital-asset/daml/pull/6043#discussion_r427905074 - address https://github.com/digital-asset/daml/pull/6043#discussion_r427905184 - address https://github.com/digital-asset/daml/pull/6043#discussion_r427905307 - address https://github.com/digital-asset/daml/pull/6043#discussion_r427905387 - address https://github.com/digital-asset/daml/pull/6043#discussion_r427905650 * Address https://github.com/digital-asset/daml/pull/6043#discussion_r427906243 * Fix implicit numeric widening fatal warning * Address https://github.com/digital-asset/daml/pull/6043#discussion_r427960762 * Fix infinite loop in metrics
23 lines
639 B
Python
23 lines
639 B
Python
# Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
load(
|
|
"//bazel_tools:scala.bzl",
|
|
"da_scala_library",
|
|
)
|
|
|
|
da_scala_library(
|
|
name = "caching",
|
|
srcs = glob(["src/main/scala/**/*.scala"]),
|
|
tags = ["maven_coordinates=com.daml:caching:__VERSION__"],
|
|
visibility = [
|
|
"//:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//ledger/metrics",
|
|
"@maven//:com_github_ben_manes_caffeine_caffeine",
|
|
"@maven//:io_dropwizard_metrics_metrics_core",
|
|
"@maven//:org_scala_lang_modules_scala_java8_compat_2_12",
|
|
],
|
|
)
|