当前位置: 首页 > 软件库 > 云计算 > 云原生 >

m3

授权协议 Apache-2.0 License
开发语言 Google Go
所属分类 云计算、 云原生
软件类型 开源软件
地区 不详
投 递 者 漆雕亮
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

M3

FOSSA Status

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

M3 contributors and maintainers have regular meetings. Join our M3 meetup group to receive notifications on upcoming meetings: https://www.meetup.com/M3-Community/.

You can find recordings of past meetups here: https://vimeo.com/user/120001164/folder/2290331.

Office Hours

Members of the M3 team hold office hours on the third Thursday of every month from 11AM to 1PM Eastern Standard Time (EST). To join, make sure to sign up for a slot here: https://calendly.com/chronosphere-intro/m3-community-office-hours.

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.

  1. 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
  1. 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 .
  1. Ready a Namespace
curl -X POST http://localhost:7201/api/v1/services/m3db/namespace/ready -d '{
  "name": "default"
}' | jq .
  1. 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
}'
  1. 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.

 相关资料
  • 问题内容: 我已经在许多Java代码符号中看到,在我们调用另一个方法之后,这是一个示例。 当你打完电话后看到的回报,我们称之为到目前为止 我如何在自己的课堂上做到这一点?我需要做些特别的事情吗? 问题答案: 这种模式称为“ Fluent接口”(请参阅Wikipedia) 只是从方法而不是什么都不返回。 所以举个例子 会成为

  • 本文向大家介绍python3.6根据m3u8下载mp4视频,包括了python3.6根据m3u8下载mp4视频的使用技巧和注意事项,需要的朋友参考一下 需要下载某网站的视频,chrome浏览器按F12打开开发者模式,发现视频链接是以"blob:http"开头的链接,打开这个链接后找不到网页,网上查了下,找到了下载方法,在这里做个记录,如果有错误,欢迎指出。 程序在Windows 10下运行,不过L

  • 本文向大家介绍python 实现多线程下载m3u8格式视频并使用fmmpeg合并,包括了python 实现多线程下载m3u8格式视频并使用fmmpeg合并的使用技巧和注意事项,需要的朋友参考一下 电影之类的长视频好像都用m3u8格式了,这就导致了多线程下载视频的意义不是很大,都是短视频,线不线程就没什么意义了嘛。 我们知道,m3u8的链接会下载一个文档,相当长,半小时的视频,应该有接近千行ts链接

  • 本文向大家介绍详解vue-video-player使用心得(兼容m3u8),包括了详解vue-video-player使用心得(兼容m3u8)的使用技巧和注意事项,需要的朋友参考一下 下载vue-video-player 在main.js文件引入 在页面中引入 在页面中data中配置 挂载视频组件(非必须)不写这一步也可以实现播放,添加这个是为了自定义按钮使用 官方文档 video.js:http

  • 本文向大家介绍python 下载m3u8视频的示例代码,包括了python 下载m3u8视频的示例代码的使用技巧和注意事项,需要的朋友参考一下 速度很慢.  40m 5分钟  不加多线程 1小时。 可能我的m3u8不行,或者我电脑不行, 多线程是机械式的。  电脑好 可以多加几条。 以上就是python 下载m3u8视频的示例代码的详细内容,更多关于python 下载m3u8视频的资料请关注呐喊教

  • 我正在使用FFMPeg(版本FFMPeg-20170330-ad7aff0-win64-static)将RTSP转换为。m3u8。 命令是: ffmpeg-rtsp_传输tcp-i{rtsp}-c:v libx264-crf 35-预设超快-maxrate 3M-bufsize 300k-r 10-g 20-movflags faststart-tune zerolatency-hls_时间1-h

  • 因此,我最近开始使用ffmpeg下载实时流媒体视频,但我面临的问题是,下载的视频会阻塞很多,特别是对于长视频(如2小时)而言。 我当前用于下载流文件的命令:- ffmpeg-i"https://link. m3u8"-c复制output.mkv 此命令在35分钟长的视频中运行良好[没有任何卡滞问题],但在2小时长的视频中失败 当我试图使用x264 lib命令编码2小时长的视频时,它还显示了“无效长

  • 我想使用MediaPlayer/MediaView在我的JavaFX应用程序中显示web cam的实时流。我尝试使用ffmpeg录制HLS并播放生成的m3u8文件,但这会引发以下异常(VLC播放视频时没有问题): 我调试了播放器的创建,当。此本机方法返回错误代码,javafx将其映射到。 我使用以下ffmpeg命令录制视频: 我非常确定编码符合javafx的要求,因为如果我将输出容器从m3u8更改