You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by to...@apache.org on 2021/04/13 18:45:33 UTC

[couchdb] branch main updated (46b333c -> 54f3e7c)

This is an automated email from the ASF dual-hosted git repository.

tonysun83 pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


    from 46b333c  Fix publish stage
     add 2ae4775  Add new app couch_prometheus
     add 4e5df74  add configurable http server
     add b4d3554  add eunit tests
     add f754fad  add prometheus versioning to header
     add b1f1d1c  add license to missing files
     new 54f3e7c  Merge pull request #3416 from apache/prometheus-endpoint

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 dev/run                                            |   7 +-
 rebar.config.script                                |   1 +
 rel/overlay/etc/default.ini                        |   5 +
 rel/reltool.config                                 |   2 +
 setup_eunit.template                               |   1 +
 src/chttpd/src/chttpd_node.erl                     |   8 +
 src/couch/src/couch.app.src                        |   3 +-
 .../src/couch_prometheus.app.src}                  |   8 +-
 .../src/couch_prometheus.hrl}                      |   5 +-
 .../src/couch_prometheus_app.erl}                  |   8 +-
 src/couch_prometheus/src/couch_prometheus_http.erl | 102 ++++++++++++
 .../src/couch_prometheus_server.erl                | 174 +++++++++++++++++++++
 .../src/couch_prometheus_sup.erl}                  |  14 +-
 src/couch_prometheus/src/couch_prometheus_util.erl | 166 ++++++++++++++++++++
 .../test/eunit/couch_prometheus_e2e_tests.erl      | 147 +++++++++++++++++
 .../test/eunit/couch_prometheus_util_tests.erl     |  65 ++++++++
 16 files changed, 698 insertions(+), 18 deletions(-)
 copy src/{couch_mrview/src/couch_mrview.app.src => couch_prometheus/src/couch_prometheus.app.src} (71%)
 copy src/{couch_eval/rebar.config => couch_prometheus/src/couch_prometheus.hrl} (89%)
 copy src/{ddoc_cache/src/ddoc_cache_app.erl => couch_prometheus/src/couch_prometheus_app.erl} (90%)
 create mode 100644 src/couch_prometheus/src/couch_prometheus_http.erl
 create mode 100644 src/couch_prometheus/src/couch_prometheus_server.erl
 copy src/{couch_stats/src/couch_stats_sup.erl => couch_prometheus/src/couch_prometheus_sup.erl} (71%)
 create mode 100644 src/couch_prometheus/src/couch_prometheus_util.erl
 create mode 100644 src/couch_prometheus/test/eunit/couch_prometheus_e2e_tests.erl
 create mode 100644 src/couch_prometheus/test/eunit/couch_prometheus_util_tests.erl

[couchdb] 01/01: Merge pull request #3416 from apache/prometheus-endpoint

Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tonysun83 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 54f3e7c23494aebf7e353d061382682d6767cd4f
Merge: 46b333c b1f1d1c
Author: Tony Sun <to...@gmail.com>
AuthorDate: Tue Apr 13 11:45:20 2021 -0700

    Merge pull request #3416 from apache/prometheus-endpoint
    
    Prometheus endpoint

 dev/run                                            |   7 +-
 rebar.config.script                                |   1 +
 rel/overlay/etc/default.ini                        |   5 +
 rel/reltool.config                                 |   2 +
 setup_eunit.template                               |   1 +
 src/chttpd/src/chttpd_node.erl                     |   8 +
 src/couch/src/couch.app.src                        |   3 +-
 src/couch_prometheus/src/couch_prometheus.app.src  |  20 +++
 src/couch_prometheus/src/couch_prometheus.hrl      |  15 ++
 src/couch_prometheus/src/couch_prometheus_app.erl  |  23 +++
 src/couch_prometheus/src/couch_prometheus_http.erl | 102 ++++++++++++
 .../src/couch_prometheus_server.erl                | 174 +++++++++++++++++++++
 src/couch_prometheus/src/couch_prometheus_sup.erl  |  39 +++++
 src/couch_prometheus/src/couch_prometheus_util.erl | 166 ++++++++++++++++++++
 .../test/eunit/couch_prometheus_e2e_tests.erl      | 147 +++++++++++++++++
 .../test/eunit/couch_prometheus_util_tests.erl     |  65 ++++++++
 16 files changed, 775 insertions(+), 3 deletions(-)