- 
                Notifications
    You must be signed in to change notification settings 
- Fork 508
New httpcheck OTel input package #15785
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
base: main
Are you sure you want to change the base?
Conversation
06ab133    to
    c12feee      
    Compare
  
    | categories: | ||
| - monitoring | ||
| - network | ||
| - web | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add opentelemtry category
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in 209e7cf.
        
          
                packages/httpcheck/sample_event.json
              
                Outdated
          
        
      | "http.url": "http://svc-web:80" | ||
| }, | ||
| "data_stream": { | ||
| "dataset": "httpcheck.httpcheckreceiver.otel", | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be httpcheckreceiver.otel ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a real case it will indeed be httpcheckreceiver.otel.
Here this document is obtained with elastic-package test system, what is configuring the dataset as <package name>.<policy template name> for legacy reasons.
I have created a follow up issue about this, I think we should fix this discrepancy at some point: elastic/elastic-package#3036
| @@ -0,0 +1,3 @@ | |||
| vars: | |||
| endpoints: | |||
| - https://epr.elastic.co | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test for input package is going to be if the policy is correctly formed ?
Any data related check we plan to add ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test for input package is going to be if the policy is correctly formed ?
This kind of test is available also for integration packages, is not specific to input packages.
Any data related check we plan to add ?
System tests are the closest thing to a data related check that we have at the moment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to be clear, policy tests are not intended to collect any data, they only create a policy with some given variables and check that the generated agent policy is the expected one.
| connectors: | ||
| forward: {} | ||
| exporters: | ||
| elasticsearch/componentid-0: | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are these componentid-0 ? Fetched from epr ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fleet generates this configuration with randomized component ids. Here elastic-package is replacing the random part with predictable strings so they can be compared in tests.
| 💔 Build Failed
 Failed CI StepsHistory
 cc @jsoriano | 
Proposed commit message
New OTel input package for the HTTP Check Receiver.
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots