惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
V
Visual Studio Blog
C
Check Point Blog
阮一峰的网络日志
阮一峰的网络日志
U
Unit 42
量子位
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
M
MIT News - Artificial intelligence
爱范儿
爱范儿
B
Blog RSS Feed
MyScale Blog
MyScale Blog
H
Help Net Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
L
LangChain Blog
D
Docker

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Monitor MBTA service status and performance with Datadog
Joel Barciauskas · 2019-03-26 · via Datadog | The Monitor blog
Joel Barciauskas

Joel Barciauskas

Data drives every decision we make at Datadog. That includes decisions about when to leave the office to catch the train! A few years ago, Datadog engineers created an MTA Service Tracker dashboard to provide ourselves and our fellow New Yorkers with detailed insight into New York’s subway system, the MTA. For a recent Datadog hackathon, Chuck Hagenbuch and I, part of our growing engineering team here in Boston, created a version of the service checker for our local system, the MBTA. You can find the MBTA dashboard here.

Monitor MBTA status with Datadog’s dashboard

Accessing the data

The MBTA provides an incredible array of data for analysis, just waiting to be consumed, stored, and displayed using Datadog. We wrote an AWS Lambda function to pull real-time vehicle and station data from the MBTA’s GTFS feed (General Transit Feed Specification) into Datadog. The GTFS feed provides real-time, detailed data about the location of every vehicle and expected arrival times at every station, as well as important service alerts.

Our function takes the raw wait time data and pairs it with route and vehicle metadata as meaningful tags. It then sends this data to Datadog via our metrics API and creates events based on MBTA service alerts.

Visualizing it

Once we had that data in Datadog, it was time to design our dashboard. We’re lucky to have a beautiful office located in the Financial District, with quick access to multiple stops, so our shareable screenboard shows the next scheduled trains for six different stops within a 10-minute walk of our office: State Street, Park Street, Downtown Crossing, South Station, and North Station. It also calculates the average wait times and total number of vehicles across the system for each line.

The MBTA also provides performance data via a separate API. We know many of our customers are interested in service-level indicators (SLIs), and the MBTA provides data about their SLI status publicly—specifically the percentage of trips that are providing “good” service, arriving at each station within three minutes of their scheduled time. This provides insight into more severe service interruptions and whether service is on its way toward recovering.

Track the MBTA’s overall performance SLIs with our dashboard.
Monitor MBTA SLIs with Datadog
Track the MBTA’s overall performance SLIs with our dashboard.

Try it out

The Lambda function we wrote is publicly available on GitHub, so you’re welcome to use it as well. Just configure it with your own API key and create your own custom dashboard based on the stations and lines you care about. Sign up for a free trial of Datadog and let us know if you have other creative ideas about how to use and share this data!