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

Add "features" command to print documentation about all features #11998

Open
yurishkuro opened this issue Dec 30, 2024 · 1 comment
Open

Add "features" command to print documentation about all features #11998

yurishkuro opened this issue Dec 30, 2024 · 1 comment

Comments

@yurishkuro
Copy link
Member

Is your feature request related to a problem? Please describe.

Collector has the concept of feature gates. When running the help command one can see (some?) features in the --feature-gates flag, e.g.

--feature-gates flag Comma-delimited list of feature gate identifiers. Prefix with '-' to disable the feature. '+' or no prefix will enable the feature. (default -connector.spanmetrics.legacyMetricNames,-exporter.UsePullingBasedExporterQueueBatcher,-filter.filterlog.useOTTLBridge,-filter.filtermetric.useOTTLBridge,-filter.filterspan.useOTTLBridge,jaeger.sampling.includeDefaultOpStrategies,pkg.translator.prometheus.NormalizeName,-pkg.translator.prometheus.PermissiveLabelSanitization,-processor.tailsamplingprocessor.metricstatcountspanssampled,receiver.jaeger.DisableRemoteSampling,-service.noopTracerProvider,-service.profilesSupport,telemetry.UseLocalHostAsDefaultMetricsAddress,-telemetry.disableAddressFieldForInternalTelemetry,-telemetry.disableHighCardinalityMetrics,telemetry.useOtelWithSDKConfigurationForInternalTelemetry

This output is quite unreadable and does not expose any metadata about individual features.

Describe the solution you'd like

Create a features command that will print a summary of all features and their metadata. The command can optionally accept a specific feature ID to limit the output to just one feature.

Describe alternatives you've considered

There is a way to see the features via zpages extension http://localhost:55679/debug/featurez, but it's not always enabled and is overall a harder way to get to the same info than a CLI command.

zpages.WriteHTMLFeaturesTable(w, getFeaturesTableData())

@morishima-senpai
Copy link

Hi, I would like to work on this:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants