Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Vruttant1403 committed Jul 2, 2024
1 parent 2931c41 commit fb8d585
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ of [keepachangelog.com](http://keepachangelog.com/).

## 4.10.0
- Adds Native Prometheus client integration
- Prometheus is enabled by default. To set it to false, add the below lines in config under :ziggurat section
```clojure
:prometheus {:port 8002
:enabled [true :bool]}
```

## 4.9.1

Expand Down
13 changes: 12 additions & 1 deletion doc/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ All Ziggurat configs should be in your `clonfig` `config.edn` under the `:ziggur
10. [Jobs](#jobs)
11. [HTTP Server](#http-server)
12. [New Relic](#new-relic)
13.

```clojure
{:ziggurat {:app-name "application_name"
Expand Down Expand Up @@ -87,7 +88,9 @@ All Ziggurat configs should be in your `clonfig` `config.edn` under the `:ziggur
:prefetch-count [4 :int]}}
:http-server {:port [8010 :int]
:graceful-shutdown-timeout-ms [30000 :int]
:new-relic {:report-errors [false :bool]}}}}
:new-relic {:report-errors [false :bool]}}
:prometheus {:port 8002
:enabled [true :bool]}}}
```


Expand Down Expand Up @@ -204,3 +207,11 @@ All Ziggurat configs should be in your `clonfig` `config.edn` under the `:ziggur
| Configuration | Data Type | Mandatory | Description |
|------------------------------------|------------|-----------|---------------------------------------------------------------------------------------------|
| **new-relic** | `Object` | No | If `report-errors` is true, reports an error to New Relic whenever a `:failure` keyword is returned from the mapper-function or an exception is raised. Can be disabled. |


## Prometheus

| Configuration | Data Type | Mandatory | Description |
|----------------|------------|-----------|---------------------------------------------------------------------------------------------------------------|
| **prometheus** | `Object` | No | Prometheus configuration. By default set to ON. Set the port that prometheus server runs on and enabled flag. |

0 comments on commit fb8d585

Please sign in to comment.