Skip to content

Dalee/prom-node-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prom node init

Just a bit of automatization for hapi node projects.

  • Starts server on port 7070 which exposes metrics, route - /metrics

  • Probes default metrics with using prom-client

  • Probes gc stats with prometheus-gc-stats

Example from glue manifest:

{
    plugin: {
        register: '@dalee/prom-node-init',
        options: {
            defaultMetrics: { timeout: 5000 },
        }
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published