Receiving end of new worker to push data across DC boundaries
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.mvn/wrapper
src
.catwatch.yaml
.gitignore
.travis.yml
.zappr.yaml
Dockerfile
LICENSE
MAINTAINERS
README.rst
create_squashed.sh
delivery.yaml
mvnw
pom.xml

README.rst

ZMON Data Service

OpenTracing enabled

Worker sends its data to the zmon-data-service, which is itself responsible for:

  • storing it in Redis for frontend
  • storing it in KairosDB for charting
  • track size/rate by team
  • handle notifications (if we cannot do this in a distributed fashion (sms vs email))

Input object:

{
    "account": "",
    "team": "",
    "results": [
        {
            "time": ...,
            "check_id": 1234,
            "check_result": ...,
            "run_time": ...,
            "exception": 0/1,
            "entity_id": "",
            "alerts" : {
                1 : { "state": 0/1, "captures": {}}, ...
            }
        }
    ]
}

Building

$ ./mvnw clean package
$ docker build -t zmon-data-service .

Running

$ export TOKENINFO_URL=...
$ java -jar target/zmon-data-service-1.0-SNAPSHOT.jar