---
title: "New Faster Service Metrics and Scala Support in Nixpacks"
date: 2023-02-03
number: 0119
url: https://railway.com/changelog/2023-02-03-new-metrics-scala-support
---

# New Faster Service Metrics and Scala Support in Nixpacks

Happy Friday! We have a short but mighty Changelog for you this week.

We’ve given service metrics a *huge* performance upgrade under the hood and updated Nixpacks to support Scala as well as multiple Rust libraries. 

## Metrics V2

We’ve upgraded the Metrics panel in project settings to be much, *much* faster. Metrics V2 is available to [Priority Boarding](https://docs.railway.app/reference/priority-boarding) users right now and will start to roll out to everyone over the next week.

Whereas before it could take 10s or more to retrieve system metrics (especially 1-day and 7-day intervals), metrics are now loading consistently in a fraction of a second. Nice!

The new metrics are available in the **V2** tab within the Metrics tab of service level settings.

[Image: Look out for V2 service-level metrics, which are far more performant than V1 metrics]

The new Metrics V2 experience is also now available in the [Public API](https://docs.railway.app/reference/public-api). 

If you’d like to check that out, head over to the [GraphQL Playground](https://railway.app/graphiql). 

Below we’ve included a query that you can use in the playground to check in on our [Deno and Redis project](https://railway.app/project/3cd99487-93ee-4013-92ec-1fdfb3e5948c/service/8ca40d58-4611-47ef-b28b-26cfda1b0740/metrics). 

```graphql
{
  metrics(
    environmentId: "0bf1844e-36ad-44ad-ae96-03dc08e2922e"
    startDate: "2023-02-01T18:00:01.800Z"
    sampleRateSeconds: 60
    measurements: [CPU_USAGE, MEMORY_USAGE_GB]
  ) {
    values {
      ts
      value
    }
  }
}
```

## Scala Support in Nixpacks

We bumped Nixpacks to [v.1.3.1](https://github.com/railwayapp/nixpacks/releases/tag/v1.3.1) with some nice new features, highlighted by a new Scala provider. At last! Check out the [official documentation](https://nixpacks.com/docs/providers/scala) to get started.

[Image: Nixpacks now supports Scala]

And in case you missed it, in [v.1.2.0](https://github.com/railwayapp/nixpacks/releases/tag/v1.2.0) we also added the ability to support multiple binaries inside of a Rust project.