Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom suffix for trace ingestion index alias #4121

Open
chenqi0805 opened this issue Feb 13, 2024 · 4 comments
Open

Allow custom suffix for trace ingestion index alias #4121

chenqi0805 opened this issue Feb 13, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@chenqi0805
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently our trace ingestion index alias are reserved to be
spans: otel-v1-apm-span
service-map: otel-v1-service-map
There are user requests to allow custom suffix appended to the above

Describe the solution you'd like
add an index alias suffix setting for trace analytics index.

Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@YANG-DB
Copy link
Member

YANG-DB commented Feb 13, 2024

Hi @chenqi0805
I would add to this - add generic support for custom index naming convention as described here for example

@dlvenable
Copy link
Member

@chenqi0805 , To be sure, this would be a configuration option and not the default. Correct?

@chenqi0805
Copy link
Collaborator Author

@chenqi0805 , To be sure, this would be a configuration option and not the default. Correct?

Yes. It should not be a breaking change

@YANG-DB
Copy link
Member

YANG-DB commented Feb 23, 2024

@dlvenable just for clarifying the requirements :

  • customizing index name pattern -
    -- type - indicated the observability high level types "logs", "metrics", "traces"
    -- dataset - The field can contain anything that classify the source of the data - first level of customer naming
    -- namespace - Another user defined namespace. Mainly useful to allow grouping of data such as production grade, geography classification - first level of customer naming

  • customizing index sequence suffix pattern -
    In addition since data-stream is not supported yet the sequence naming convention should also be customizable - it may be data with custom format of sequence number

The final name should take the next form:
static_prefix-$type-$namespace-$sequence

Examples:

  • otel-v1-apm-span-eu-0001
  • ss4o-traces-eu-20240101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants