0

My nodejs web application runs on a variable number/type of dynos.

Is there a way to get the dynos setup in node ?

Ex:

   dynos: {
       web: {
         standard-1x: 2,
       },
       worker: {
         standard-2x: 4
        }

    }
geemus
  • 2,522
  • 16
  • 22
abel leroyer
  • 285
  • 2
  • 8

1 Answers1

2

You should be able to do this using the platform API. In particular, we represent the type and number of dynos setup for an application as a resource called "formation". You can see how to list your current formation information here:

https://devcenter.heroku.com/articles/platform-api-reference#formation-list

geemus
  • 2,522
  • 16
  • 22