소개
M3 모노레포 — 분산 TSDB, 집계기 및 쿼리 엔진, Prometheus 사이드카, Graphite 호환 메트릭 플랫폼입니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- +2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalM3

Distributed TSDB and Query Engine, Prometheus Sidecar, Metrics Aggregator, and more such as Graphite storage and query engine.
Table of Contents
More Information
Community Meetings
You can find recordings of past meetups here: https://vimeo.com/user/120001164/folder/2290331.
Install
Dependencies
The simplest and quickest way to try M3 is to use Docker, read the M3 quickstart section for other options.
This example uses jq to format the output of API calls. It is not essential for using M3DB.
Usage
The below is a simplified version of the M3 quickstart guide, and we suggest you read that for more details.
- Start a Container
docker run -p 7201:7201 -p 7203:7203 --name m3db -v $(pwd)/m3db_data:/var/lib/m3db quay.io/m3db/m3dbnode:v1.0.0
- Create a Placement and Namespace
#!/bin/bash
curl -X POST http://localhost:7201/api/v1/database/create -d '{
"type": "local",
"namespaceName": "default",
"retentionTime": "12h"
}' | jq .
- Ready a Namespace
curl -X POST http://localhost:7201/api/v1/services/m3db/namespace/ready -d '{
"name": "default"
}' | jq .
- Write Metrics
#!/bin/bash
curl -X POST http://localhost:7201/api/v1/json/write -d '{
"tags":
{
"__name__": "third_avenue",
"city": "new_york",
"checkout": "1"
},
"timestamp": '\"$(date "+%s")\"',
"value": 3347.26
}'
- Query Results
Linux
curl -X "POST" -G "http://localhost:7201/api/v1/query_range" \
-d "query=third_avenue" \
-d "start=$(date "+%s" -d "45 seconds ago")" \
-d "end=$( date +%s )" \
-d "step=5s" | jq .
macOS/BSD
curl -X "POST" -G "http://localhost:7201/api/v1/query_range" \
-d "query=third_avenue > 6000" \
-d "start=$(date -v -45S "+%s")" \
-d "end=$( date +%s )" \
-d "step=5s" | jq .
Contributing
You can ask questions and give feedback in the following ways:
M3 welcomes pull requests, read contributing guide to help you get setup for building and contributing to M3.
This project is released under the Apache License, Version 2.0.
관련 프로젝트 살펴보기
불러오는 중…