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 units to metric duration fields #5395

Merged
merged 5 commits into from
Jun 3, 2021
Merged

Add units to metric duration fields #5395

merged 5 commits into from
Jun 3, 2021

Conversation

jalvz
Copy link
Contributor

@jalvz jalvz commented Jun 1, 2021

Checklist

How to test these changes

Related issues

Closes #4487

@jalvz jalvz added the v7.14.0 label Jun 1, 2021
@apmmachine
Copy link
Contributor

apmmachine commented Jun 1, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #5395 updated

  • Start Time: 2021-06-02T09:29:36.262+0000

  • Duration: 39 min 2 sec

  • Commit: a93d103

Test stats 🧪

Test Results
Failed 0
Passed 6142
Skipped 120
Total 6262

Trends 🧪

Image of Build Times

Image of Tests

model/profile/_meta/fields.yml Outdated Show resolved Hide resolved
model/metricset/_meta/fields.yml Show resolved Hide resolved
model/metricset/_meta/fields.yml Outdated Show resolved Hide resolved
model/profile/_meta/fields.yml Outdated Show resolved Hide resolved
model/profile/_meta/fields.yml Outdated Show resolved Hide resolved
@jalvz jalvz merged commit fedc1db into elastic:master Jun 3, 2021
mergify bot pushed a commit that referenced this pull request Jun 3, 2021
* add units to metric duration fields

* Apply suggestions from code review

Co-authored-by: Andrew Wilkins <[email protected]>

* make update

* Add changelog

Co-authored-by: Andrew Wilkins <[email protected]>
(cherry picked from commit fedc1db)

# Conflicts:
#	changelogs/head.asciidoc
#	include/fields.go
axw added a commit that referenced this pull request Jun 8, 2021
* Add units to metric duration fields (#5395)

* add units to metric duration fields

* Apply suggestions from code review

Co-authored-by: Andrew Wilkins <[email protected]>

* make update

* Add changelog

Co-authored-by: Andrew Wilkins <[email protected]>
(cherry picked from commit fedc1db)

# Conflicts:
#	changelogs/head.asciidoc
#	include/fields.go

* Fix conflicts

Co-authored-by: Juan Álvarez <[email protected]>
Co-authored-by: Andrew Wilkins <[email protected]>
@axw axw self-assigned this Jul 6, 2021
mergify bot pushed a commit that referenced this pull request Jul 6, 2021
* add units to metric duration fields

* Apply suggestions from code review

Co-authored-by: Andrew Wilkins <[email protected]>

* make update

* Add changelog

Co-authored-by: Andrew Wilkins <[email protected]>
(cherry picked from commit fedc1db)

# Conflicts:
#	apmpackage/apm/data_stream/app_metrics/fields/fields.yml
#	apmpackage/apm/data_stream/internal_metrics/fields/fields.yml
#	changelogs/head.asciidoc
#	include/fields.go
@axw
Copy link
Member

axw commented Jul 6, 2021

In light of elastic/elasticsearch#74014 I haven't spent much effort testing this, as we'll need to change things. I checked a few template fields in 7.14 BC1 and they looked good -- this change satisfied the goal of providing real data to Lens.

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

Successfully merging this pull request may close these issues.

Define units and types for well-defined metric fields
4 participants