[feature request] Add public API to retrieve target table name from TableNameMappings for a given category #2308
Labels
comp:exporter.geneva
Things related to OpenTelemetry.Exporter.Geneva
enhancement
New feature or request
Component
OpenTelemetry.Exporter.Geneva
Is your feature request related to a problem?
In my library I work with GenevaExporterOptions.TableNameMappings property, but the logic to calculate the resulting table name where each log category will be exported to is complicated and internal. Please provide public API (in the form of an extension method or something like that) so that it could return a table name for a given category.
What is the expected behavior?
Please provide public API (in the form of an extension method or something like that) so that it could return a table name for a given category.
public string ResolveTableMappingForCategoryName(this GenevaExporterOptions options, string categoryName) {...}
Which alternative solutions or features have you considered?
As a workaround, I have to duplicate/copypaste the existing internal Geneva exporter code for resolving table name for a category name
Additional context
No response
The text was updated successfully, but these errors were encountered: