Skip to content

Allow to customize the k6-metrics index name #17

@MurzNN

Description

@MurzNN

When we use a single Elastic instance for several projects, it's better to have different index names per project. But currently we have a hardcoded k6-metrics index name in the code here
https://github.com/elastic/xk6-output-elasticsearch/blob/dcedf0c6310c9a5e990ecf72e01387af761bf144/pkg/esoutput/esoutput.go#L127C12-L127C22

So, will be good to allow configuring the index name by an env variable or/and via a command line parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions