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
DM-41934 Add the ability to explicitly set Sasquatch time #169
Conversation
@@ -212,7 +213,8 @@ class AnalysisBaseConfig(PipelineTaskConfig, pipelineConnections=AnalysisBaseCon | |||
doc="Which time stamp should be used as the reference timestamp for a " | |||
"metric in a time series database, valid values are; " | |||
"reference_package_timestamp, run_timestamp, current_timestamp, " | |||
"and dataset_timestamp", | |||
"dataset_timestamp and explicit_timestamp:datetime where datetime is" | |||
"is given in the form %Y%m%dT%H%M%S%z", |
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.
So, %z is the time zone in format "±HHMM". AFAICT, times uploaded to the Chronograf are in Zulu time, i.e., UTC+0, i.e., GMT. Would that equate to +0000 in this format?
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.
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.
You can do +0000 or z which is an explicit carve out, I think because it is such a commonly output format
b518f0c
to
8837b75
Compare
Add the ability to explicitly set the time Sasquatch will use from the pipeline task or pipeline interfaces. This is done by setting the task config variable timestamp_version, or the pipeline parameter sasquatch_timestamp_version to a value of explicit_timestamp:%Y%m%dT%H%M%S%z
8837b75
to
910b026
Compare
Add the ability to explicitly set the time Sasquatch will use from the pipeline task or pipeline interfaces. This is done by setting the task config variable timestamp_version, or the pipeline parameter sasquatch_timestamp_version to a value of
explicit_timestamp:%Y%m%dT%H%M%S%z