Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

agent-conf.json file violates twelve-factor methodology of Heroku apps #46

@hheimbuerger

Description

@hheimbuerger

I'm running an app on Heroku, which is a PaaS built upon the twelve-factor methodology.

Currently, the agent-conf.json file links my codebase to a specific instance of Librato. This violates a core concept of twelve-factor, namely the strict separation of configuration from code:

Apps sometimes store config as constants in the code. This is a violation of twelve-factor, which requires strict separation of config from code. Config varies substantially across deploys, code does not.

As the twelve-factor page I linked to earlier describes in more detail and much more clearly than I ever could, this is a problem because I'm deploying the same codebase to various instances, in my case production, staging, various demo instances for sales as well as a review app for each feature branch.

Please provide and document a way to support a maintainable Heroku setup, following the twelve-factor methodology.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions