-
Notifications
You must be signed in to change notification settings - Fork 474
MongoDB: Enable ECS dependency #1171
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
@@ -1,9 +1,7 @@ | |||
- name: ecs.version | |||
type: keyword | |||
description: ECS version | |||
external: ecs | |||
- name: service.address | |||
type: keyword | |||
description: Service address |
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.
Fun fact: isn't service.address
defined in ECS schema?
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.
Interesting, then maybe a different field should be used here? Maybe server.address
.
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.
I replied to the comment below:
I'm not sure about consistency with Beats in this case, but it seems like a good candidate to the ECS repository. Should I open an issue in the ECS repo?
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪 |
@@ -1,4 +1,9 @@ | |||
# newer versions go on top | |||
- version: "0.5.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.
I haven't promoted 0.4.0 yet, so this can go to this version.
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.
Well, revision 0.4.0 has been already released to snapshot, so this version is "burnt". I updated the changelog to 0.4.1-next to prevent releasing this change immediately after merge.
In general the package is copied to the package-storage whenever an unreleased version is detected in package manifest.
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.
Oh ok, I didn't know about this, I thought they needed to be explicitly promoted.
Then we have the problem of not knowing what is released as 0.4.0 in snapshot, as I added the two enhancements in two different PRs.
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.
It seems that 0.4.0 contains only: https://github.com/elastic/package-storage/blob/snapshot/packages/mongodb/0.4.0/changelog.yml#L4
Would you like me to promote this PR as 0.5.0, so it will include also the other PR?
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.
We agreed offline to go with 0.5.0
@@ -1,9 +1,7 @@ | |||
- name: ecs.version | |||
type: keyword | |||
description: ECS version | |||
external: ecs | |||
- name: service.address | |||
type: keyword | |||
description: Service address |
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.
Interesting, then maybe a different field should be used here? Maybe server.address
.
I'm not sure about consistency with Beats in this case, but it seems like a good candidate to the ECS repository. Should I open an issue in the ECS repo? |
Yes, I think we should clarify this. For example in this issue elastic/beats#8941 it seems to be assumed that this is an ECS field, but in beats it is still defined as a common field in Metricbeat. And I see that many other integrations have it in In other beats I also understand that |
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.
LGTM, no need to solve the service.address
mistery here.
What does this PR do?
Checklist
changelog.yml
file.- [ ] If I'm introducing a new feature, I have modified the Kibana version constraint in my package'smanifest.yml
file to point to the latest Elastic stack release (e.g.^7.13.0
).How to test this PR locally
CI will verify if the integration works correctly.
Issues