Skip to content

Why not export Objectives from the top-level autometrics module? #87

Open
@brettimus

Description

@brettimus

Right now, to import and use Objectives, I need to write

from autometrics import autometrics, init
from autometrics.objectives import Objective, ObjectiveLatency, ObjectivePercentile

Could we just change this so you can import everything from the top-level module?

E.g.,

from autometrics import autometrics, init, Objective, ObjectiveLatency, ObjectivePercentile

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