-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(agent): PENG-2457 modify the time param used for querying InfluxDB
This commit modifies the query made against InfluxDB when fetching for job metrics in a way that the *time* argument is given in nanoseconds. This is necessary because the agent sends the time in seconds, so, when fetching the *max_times*, the API will send the time in seconds as well. However, the data stored in InfluxDB uses the epoch in nanoseconds, which requires the conversion before executing the query, otherwise all data in the database will be returned.
- Loading branch information
1 parent
524aea1
commit b15ec21
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters