Skip to content
Snippets Groups Projects
  1. Aug 17, 2021
  2. Aug 13, 2021
    • Bastian Köcher's avatar
      Upgrade hyper to 0.14.11 (#9557) · 1aadab91
      Bastian Köcher authored
      * Upgrade hyper to 0.14.10
      
      * fmt
      
      * Enable required features
      1aadab91
    • Squirrel's avatar
      depend-o-pocalipse (#9450) · 7e9b8d27
      Squirrel authored
      Remove unneeded dependencies and dev-dependencies.
      Made self_destruct test not dependent on wasm bin size.  
      Updated code related to deprecated warning on tracing-subscriber `scope()` 
      ( See https://github.com/tokio-rs/tracing/issues/1429 )
      7e9b8d27
  3. Aug 04, 2021
  4. Jul 21, 2021
  5. Jul 02, 2021
    • George Angelopoulos's avatar
      fix prometheus log message terminology (#9256) · 3c701ae1
      George Angelopoulos authored
      A prometheus "server" typically refers to the prometheus process running
      on a central server which connects to various prometheus "exporters" and
      collects metrics. What is implemented here in substrate is a prometheus
      exporter.
      
      This patch fixes the associated log message to avoid confusion for new
      users.
      3c701ae1
  6. Jan 04, 2021
    • Bastian Köcher's avatar
      Happy new year (#7814) · e3e651f7
      Bastian Köcher authored
      * Happy new year
      
      Updates the copyright years and fixes wrong license headers.
      
      * Fix the template
      
      * Split HEADER into HEADER-APACHE & HEADER-GPL
      e3e651f7
  7. Dec 10, 2020
  8. Aug 18, 2020
    • Roman Borschel's avatar
      Add support for sourced metrics. (#6895) · 807329dd
      Roman Borschel authored
      
      * Add support for sourced metrics.
      
      A sourced metric is a metric that obtains its values
      from an existing source, rather than the values being
      independently recorded. It thus allows collecting
      metrics from existing counters or gauges without
      having to duplicate them in a dedicated prometheus
      counter or gauge (and hence another atomic value).
      
      The first use-case is to feed the bandwidth counters
      from libp2p directly into prometheus.
      
      * Tabs, not spaces.
      
      * Tweak bandwidth counter registration.
      
      * Add debug assertion for variable labels and values.
      
      * Document monotonicity requirement for sourced counters.
      
      * CI
      
      * Update client/network/src/service.rs
      
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
      
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
      807329dd
  9. May 15, 2020
  10. Apr 06, 2020
  11. Apr 04, 2020
    • Benjamin Kampmann's avatar
      Additional Metrics collected and exposed via prometheus (#5414) · 247822bb
      Benjamin Kampmann authored
      
      This PR refactors the metrics measuring and Prometheus exposing entity in sc-service into its own submodule and extends the parameters it exposes by:
      
      - system load average (over one, five and 15min)
      - the TCP connection state of the process (lsof), refs #5304
      - number of tokio threads
      - number of known forks
      - counter for items in each unbounded queue (with internal unbounded channels)
      - number of file descriptors opened by this process (*nix only at this point)
      - number of system threads (*nix only at this point)
      
      refs #4679
      
      Co-authored-by: default avatarMax Inden <mail@max-inden.de>
      Co-authored-by: default avatarAshley <ashley.ruglys@gmail.com>
      247822bb
  12. Apr 03, 2020
  13. Apr 01, 2020
    • Gavin Wood's avatar
      A few missing emojies (#5490) · b86c7e87
      Gavin Wood authored
      * A few missing emojies
      
      * P2p message emojis
      
      * Add a bit of colour
      
      * format
      
      * Introduce a couple of spaces
      
      * Some spaces
      b86c7e87
  14. Feb 27, 2020
    • Max Inden's avatar
      *: Rename prometheus-exporter crate to substrate-prometheus-end… (#5076) · 9d49d917
      Max Inden authored
      This patch renames the crate for the following two reasons:
      
      1. The prometheus-exporter crate introduces native in-process Prometheus
      style instrumentation to the Substrate project. Within the Prometheus
      ecosystem the term "exporter" is used for external processes exposing
      metrics for e.g. the Linux Kernel. In-process exposition would be
      described via the term "endpoint".
      
      2. "prometheus-exporter" is generic and ignores the fact that it is only
      usable within the context of Substrate. In addition the name
      "prometheus-exporter" is already taken on crates.io.
      9d49d917
  15. Feb 19, 2020
    • Max Inden's avatar
      Introduce Prometheus metric endpoint replacing Grafana endpoint (#4981) · d8230ecf
      Max Inden authored
      
      * Refactor rebase master prometheus_v0.3
      
      * Milestone1: Final Version of v0.3
      
      * no-std or warm compatibility issues, grapana-data -source code reference and correction,applicable
      
      * Cargo.lock paritytech/master rebase
      
      * prometheus networking.rs del, grafana-data-source networking.rs pub edit and note
      
      * chore: reflect various feedback
      
      * Spaces to tabs.
      
      * Replace grafana and tidy
      
      * Add generics
      
      * Add photo back
      
      * Re-fix spaces in primitives/consensus/babe/src/inherents.rs
      
      * Refactor rebase master prometheus_v0.3
      
      * Milestone1: Final Version of v0.3
      
      * no-std or warm compatibility issues, grapana-data -source code reference and correction,applicable
      
      * prometheus networking.rs del, grafana-data-source networking.rs pub edit and note
      
      * chore: reflect various feedback
      
      * Replace grafana and tidy
      
      * Add generics
      
      * Add photo back
      
      * Re-fix spaces in primitives/consensus/babe/src/inherents.rs
      
      * chore: revert this file back to paritytech/master inherents.rs.
      
      * Add newline at EOF
      
      * Tidy
      
      * Use local registry
      
      * fix typo
      
      Co-Authored-By: default avatarMax Inden <mail@max-inden.de>
      
      * chore:  Apply review feedback
      
      * endpoint -> exporter
      
      * fix readme
      
      * Remove lazy_static, use ServiceMetrics struct instead
      
      * Switch to using GaugeVecs
      
      * chore: without nightly , edit README
      
      * block_height -> block_height_number
      
      * Switch to a ready_transactions_number gauge
      
      * Update utils/prometheus/src/lib.rs
      
      Co-Authored-By: default avatarMax Inden <mail@max-inden.de>
      
      * no-prometheus flag add
      
      * /metrics url Input check
      
      * remove prometheus in Tracing
      
      * remove prometheus in Tracing
      
      * chore: master code rebase edit
      
      * gitlab-check-web-wasm edit code
      
      * From:from and cargo.lock update
      
      * with_prometheus_registry add background_tasks
      
      * utils/prometheus/src/lib.rs: Restructure #[cfg] for wasm without hyper
      
      Given that Hyper is not compatible with WASM targets it needs to be
      excluded from WASM builds. Instead of introducing #[cfg] lines
      throughout the crate, this patch splits the crate into two: known_os and
      unknown_os (WASM).
      
      * utils/prometheus/src/lib.rs: Feature gate known_os module
      
      * client/cli/src/lib.rs: Re-add newline at end of file
      
      Co-authored-by: default avatarJeseonLEE <zeroday26@gmail.com>
      Co-authored-by: default avatarGavin Wood <github@gavwood.com>
      Co-authored-by: default avatarAshley <ashley.ruglys@gmail.com>
      Co-authored-by: default avatarHyungsuk Kang <hskang9@gmail.com>
      d8230ecf