Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
dcdb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
dcdb
dcdb
Commits
d87022f9
Commit
d87022f9
authored
Jan 20, 2020
by
Alessio Netti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Analytics: removed unnecessary error logging in Smoothing plugin
parent
d64b73e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
analytics/operators/smoothing/SmoothingOperator.cpp
analytics/operators/smoothing/SmoothingOperator.cpp
+3
-2
No files found.
analytics/operators/smoothing/SmoothingOperator.cpp
View file @
d87022f9
...
...
@@ -48,9 +48,10 @@ void SmoothingOperator::compute(U_Ptr unit) {
_buffer
.
clear
();
SmoothingSBPtr
sIn
=
unit
->
getInputs
()[
0
],
sOut
=
unit
->
getOutputs
()[
0
];
uint64_t
startTs
=
sOut
->
getTimestamp
()
?
getTimestamp
()
-
sOut
->
getTimestamp
()
:
0
;
// Throwing an error does not make sense here - the query will often fail depending on insert batching
if
(
!
_queryEngine
.
querySensor
(
sIn
->
getName
(),
startTs
,
0
,
_buffer
,
true
))
throw
std
::
runtime_error
(
"Operator "
+
_name
+
": cannot read from sensor "
+
sIn
->
getName
()
+
"!"
)
;
return
;
for
(
const
auto
&
v
:
_buffer
)
{
if
(
v
.
timestamp
>
sOut
->
getTimestamp
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment