We can also break that metric down using the line tag to show each line’s performance. Open tennis tournament at USTA Billie Jean King National Tennis Center. It was obviously a scary situation and it all went wrong. He was just trying to help on the subway, she said. It is owned by the government of New York City and leased to the New York City Transit Authority, 15 an affiliate agency of the state-run Metropolitan Transportation Authority (MTA). Daniel Penny’s defense fund surpassed 1 million on Saturday. Since the metric is tagged by line, we can see the number of lines currently running with good service by adding the values together, or we can average the metric values to show the percentage of lines in good service. Flushing, NY, USA Spectators walk through flooded paths near Louis Armstrong Stadium on day three of the 2021 U.S. The New York City Subway is a rapid transit system in the New York City boroughs of Manhattan, Brooklyn, Queens, and the Bronx. and Europe are racing to waterproof older subway systems as climate change drives more rain. The metric value is either 0 or 1, with 1 representing “good service” and 0 representing degraded service from planned work, a service change, or delays. Water runs down the steps of a subway station in Berlin in 2019. The check parses the service update and creates a custom metric called mta.line_service tagged with the name of the subway line (e.g. realtimerail.nyc is an open source Typescript/React app that uses the backend software Transiter to access New York City Transit's realtime data. For instance, I can set a parameter that tells the Agent to run my check every 60 seconds, rather than having to set up a cron job to periodically run my script. This page has the status of elevators and escalators on the Subway, Long Island Rail Road (LIRR), and the Metro-North Railroad (MNR). I chose to write a custom Agent check because I already had a Datadog Agent sending metrics to my personal Datadog account, and because the Agent handles a number of boilerplate tasks for me. MyTransit is the most reliable NYC Subway, Bus, LIRR and Metro North schedule, maps (offline accessible) & tracker app. There are a number of ways to get custom metrics into Datadog, including an HTTP API and a whole ecosystem of client libraries. This skill has individual feeds for NYCs Subway system, Busses, Long Island & Metro North Railroads. In these updates, the MTA groups lines by service division (such as B/D/F/M or 4/5/6), and declares a status for each, like “good service,” “planned work,” “service change,” “delay,” or “suspended.” I saw that I could parse those updates and send the data as custom metrics to Datadog. After poking around the MTA’s available data sources, I decided that parsing the text updates around service status was the easiest and most reliable way to extract meaningful data about the various subway lines.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |