- 
                Notifications
    You must be signed in to change notification settings 
- Fork 198
[samples] remove unneeded file_storage and fix a bug #10856
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
Conversation
| This pull request does not have a backport label. Could you fix it @VihasMakwana? 🙏 
 | 
| I think #10826 should be addressed here, it doesn't seem like adding a basic unit test that the collector starts is that much work. If it is a lot of work let me know and we can discuss a better strategy to address this. | 
e672526    to
    aa3056c      
    Compare
  
    310b452    to
    6aa0277      
    Compare
  
    | @Mergifyio backport 8.19 9.1 9.2 | 
| 💚 Build Succeeded
 History
 | 
| 
 ✅ Backports have been created
 | 
* fix: add flush_interval * couple of enhancements * test samples * lint * use observer and t.Setenv * lint * fix profiling * fix unit test race * more time * comment * enable profiling for linux * Add comment * use DryRun to validate the config --------- Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]> (cherry picked from commit 49af983) # Conflicts: # internal/pkg/otel/samples/linux/profiles_metrics.yml # internal/pkg/otel/samples/windows/managed_otlp/logs_metrics_traces.yml # internal/pkg/otel/samples/windows/managed_otlp/platformlogs.yml # internal/pkg/otel/samples/windows/managed_otlp/platformlogs_hostmetrics.yml
* fix: add flush_interval * couple of enhancements * test samples * lint * use observer and t.Setenv * lint * fix profiling * fix unit test race * more time * comment * enable profiling for linux * Add comment * use DryRun to validate the config --------- Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]> (cherry picked from commit 49af983) # Conflicts: # internal/pkg/otel/samples/linux/profiles_metrics.yml # internal/pkg/otel/samples/windows/managed_otlp/logs_metrics_traces.yml # internal/pkg/otel/samples/windows/managed_otlp/platformlogs.yml # internal/pkg/otel/samples/windows/managed_otlp/platformlogs_hostmetrics.yml
* fix: add flush_interval * couple of enhancements * test samples * lint * use observer and t.Setenv * lint * fix profiling * fix unit test race * more time * comment * enable profiling for linux * Add comment * use DryRun to validate the config --------- Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]> (cherry picked from commit 49af983) # Conflicts: # internal/pkg/otel/samples/windows/managed_otlp/logs_metrics_traces.yml # internal/pkg/otel/samples/windows/managed_otlp/platformlogs.yml # internal/pkg/otel/samples/windows/managed_otlp/platformlogs_hostmetrics.yml
* fix: add flush_interval * couple of enhancements * test samples * lint * use observer and t.Setenv * lint * fix profiling * fix unit test race * more time * comment * enable profiling for linux * Add comment * use DryRun to validate the config --------- Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]>
* fix: add flush_interval * couple of enhancements * test samples * lint * use observer and t.Setenv * lint * fix profiling * fix unit test race * more time * comment * enable profiling for linux * Add comment * use DryRun to validate the config --------- Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]>
* fix: add flush_interval * couple of enhancements * test samples * lint * use observer and t.Setenv * lint * fix profiling * fix unit test race * more time * comment * enable profiling for linux * Add comment * use DryRun to validate the config --------- Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]>
…ws (#10855) * [EDOT][windows] add missing samples for windows (#10728) * add docs and changelog * remove redundant (cherry picked from commit 03a81c0) * add flush_timeout * [samples] remove unneeded file_storage and fix a bug (#10856) * fix: add flush_interval * couple of enhancements * test samples * lint * use observer and t.Setenv * lint * fix profiling * fix unit test race * more time * comment * enable profiling for linux * Add comment * use DryRun to validate the config --------- Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]> --------- Co-authored-by: Vihas Makwana <[email protected]> Co-authored-by: Vihas <[email protected]> Co-authored-by: Fabrizio Ferri-Benedetti <[email protected]>
What does this PR do?
Remove the
file_storageas it's not used anywhere and useflush_timeout.Also added unit test cases to validate the samples using
DryRun.