Skip to content

feature: otel collect subcommand #61

Description

@esnible

Feature Description

For #37

The K8s Rossoctl installs an OTel collector with special configuration. We would like to be able to collect traces using the same configuration without Kubernetes.

Proposed Solution

A developer should be able to run mlflow server --host 0.0.0.0 --port 5001 to start MLflow, then rossoctl otel collect --mlflow-port=5001 to start an otel/opentelemetry-collector-contrib:latest pod with a configuration equivalent to the K8s Rossoctl collector.

Alternately, we should be able to run rossoctl otel collect --config=<filename> to run an arbitrary forwarder.

Want to contribute?

  • I would like to work on this issue.

Additional Context

If MLflow isn't listening on the port already, we should create a message such as

No MLflow listening on port 5001, run `mlflow server --host 0.0.0.0 --port 5001` to start.

See https://mlflow.org/docs/latest/ml/tracking/quickstart/ for instructions on obtaining the MLflow CLI.
Note that on MacOS, the default MLflow port 5000 is used for Control Center and AirPlay, so we recommending port 5001.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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