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 'log_info' definition to metadata schema #448

Merged
merged 5 commits into from
Jul 8, 2019
Merged

Conversation

twojtasz
Copy link
Contributor

We use this in the builder and parser so it needs defined properly.

@twojtasz twojtasz requested a review from jlisee May 11, 2019 00:25
@twojtasz twojtasz added this to the v1.0 milestone May 15, 2019
@twojtasz twojtasz mentioned this pull request May 17, 2019
31 tasks
- `end_time`
- `start_time` (Number) - Start time for the log data
- `end_time` (Number) - End time for the log data
- `log_start_time` - (Number) - Start time of the log from which this was created
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need both start_time and log_start_time still? I think part of the reason we had these internally was because of the way the code was developed. Where one was supposed to represent the full duration of the log itself, and the other window you requested (echoing back what you sent to start up the connection).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. Do we no longer need this distinction? It seems like it is still interesting though could use a better description of why we have both.

Our use case grew to include this because we started with a batch type workflow, but once we could stream, it became desirable to explore the adjacent data as well.

Having said that, we could remove it and leave it as a custom thing. It is easy enough to spec that you can ask for more time, but you just get an error if it is no available.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another angle is that these two names are just quite confusing. It's not clear from reading them what the difference is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I'll limit it to start_time and end_time as it's easier to add others later than remove them.

@twojtasz twojtasz closed this May 28, 2019
@twojtasz twojtasz force-pushed the tpw/schema-log-info branch from 41d5de7 to 51e6c9f Compare May 28, 2019 19:13
@coveralls
Copy link

coveralls commented May 28, 2019

Coverage Status

Coverage remained the same at 74.546% when pulling 0fcc2ac on tpw/schema-log-info into 38b8521 on master.

@twojtasz twojtasz reopened this May 28, 2019
@twojtasz twojtasz force-pushed the tpw/schema-log-info branch from a230076 to a32ab0f Compare May 28, 2019 21:34
@twojtasz
Copy link
Contributor Author

@jlisee updated to just be start_time and end_time

@twojtasz twojtasz force-pushed the tpw/schema-log-info branch from a32ab0f to 3c50fdc Compare May 31, 2019 18:16
Copy link
Contributor

@jlisee jlisee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but the schema needs a tweak.

@@ -0,0 +1,15 @@
{
"id": "https://xviz.org/schema/session/log_info.json",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we missing a hookup here in the session.schema.json file for this type?

@twojtasz twojtasz force-pushed the tpw/schema-log-info branch from e222142 to 8cfc7b6 Compare July 8, 2019 14:41
@twojtasz twojtasz merged commit 66b5d2d into master Jul 8, 2019
@twojtasz twojtasz deleted the tpw/schema-log-info branch July 8, 2019 15:34
alexhaislip pushed a commit to Smart-Ag/xviz that referenced this pull request Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants