Railway
All Updates
CHANGELOG

Changelog #0119

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 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.

Look out for V2 service-level metrics, which are far more performant than V1 metrics
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.

If you’d like to check that out, head over to the GraphQL Playground.

Below we’ve included a query that you can use in the playground to check in on our Deno and Redis project.

{
  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 with some nice new features, highlighted by a new Scala provider. At last! Check out the official documentation to get started.

Nixpacks now supports Scala
Nixpacks now supports Scala

And in case you missed it, in v.1.2.0 we also added the ability to support multiple binaries inside of a Rust project.