Skip to content

feat: add query() time_unit option, list_streams(), list_alerts(), docs fix - #937

Open
Julien (juju4) wants to merge 10 commits into
microsoft:mainfrom
juju4:devel-openobserve2
Open

Julien (juju4) wants to merge 10 commits into
microsoft:mainfrom
juju4:devel-openobserve2

Conversation

@juju4

Copy link
Copy Markdown
Collaborator

No description provided.

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ianhelle Ian Hellen (ianhelle) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The feature additions look reasonable, but the PR currently fails tests and introduces invalid notebook/documentation content. Please address the inline findings before merge.

Comment thread msticpy/data/drivers/openobserve_driver.py Outdated
},
{
"cell_type": "markdown",
"execution_count": 1,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This adds execution_count to a Markdown cell, which is invalid under the notebook schema. nbformat.validate() raises NotebookValidationError: Additional properties are not allowed. Please remove this property from the Markdown cell.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

On notebook, I think that I created the issue when I sanitized the file but current file (https://github.com/microsoft/msticpy/blob/main/docs/notebooks/Openobserve-DataConnector.ipynb) is seen as invalid in github.
The updated file is readable both in github (https://github.com/juju4/msticpy/blob/c3d8e82b10bfbbfd23ac0bfcd04ab09514d273e8/docs/notebooks/Openobserve-DataConnector.ipynb but not anymore) and in jupyter lab even if still issue: vscode/codium also returns an error ("Cannot read properties of undefined (reading 'toString')"). unclear why.

Comment thread msticpy/data/drivers/openobserve_driver.py
Comment thread docs/source/data_acquisition/DataProv-OpenObserve.rst
Comment thread docs/source/data_acquisition/DataProv-OpenObserve.rst Outdated
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.

2 participants