[
https://issues.apache.org/jira/browse/BEAM-8133?focusedWorklogId=451548&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-451548
]
ASF GitHub Bot logged work on BEAM-8133:
----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Jun/20 13:00
Start Date: 26/Jun/20 13:00
Worklog Time Spent: 10m
Work Description: kamilwu commented on a change in pull request #12102:
URL: https://github.com/apache/beam/pull/12102#discussion_r446168652
##########
File path:
sdks/java/testing/nexmark/src/main/java/org/apache/beam/sdk/nexmark/Main.java
##########
@@ -255,7 +255,9 @@ private static String produceMeasurement(
schemaResults.put("timestamp", timestamp);
schemaResults.put("runner", runner);
schemaResults.put("measurement", measurement);
- schemaResults.put("runtimeMs", runtimeMs);
+ schemaResults.put(
+ "runtimeMs",
+ runtimeMs + "i"); // we need to add 'i' suffix since influx default
type is float
Review comment:
What about something like this?
`
By default, InfluxDB treats all values as floats. We need to add 'i' suffix
to interpret the value as an integer.
`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 451548)
Time Spent: 13h 40m (was: 13.5h)
> Create metrics publisher in Java SDK
> ------------------------------------
>
> Key: BEAM-8133
> URL: https://issues.apache.org/jira/browse/BEAM-8133
> Project: Beam
> Issue Type: Sub-task
> Components: testing
> Reporter: Kamil Wasilewski
> Assignee: Pawel Pasterz
> Priority: P2
> Fix For: Not applicable
>
> Time Spent: 13h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)