Impact 2024: The Industrial Data and AI Conference for and by Users | Nominate Speakers Now for a Ch...
@Arun Arunachalam - We are able to set up the monitoring and alert in the client environment. We see that the monitoring job generates alerts based on the thresholds in the Time series data in reactive way based on configured schedule interval. Will it generate alerts in advance for future predictive maintenance events / forecasted / fore filled Time series / events data
We want to deploy the function in automated fashion in lower environment (e.g dev-CDF project , test CDF -project) from the single code base, and for deploying to production we want to manually execute release pipeline (based on our CR approvals and process). We will be tagging the master/main (version control) for production deployment after we test in test CDF projectWe want to isolate CD(release) from CI(build) pipeline
yes , after upgrading the cognite-replicator package to 1.2.3 this error is resolved and I am able to execute as per below. Thanks2023-02-21 16:56:01,725 root INFO - Ext id: pi:160571 Number of datapoints: 02023-02-21 16:56:04,095 root INFO - Ext id: pi:160699 Number of datapoints: 2193942023-02-21 16:56:04,138 root INFO - Ext id: pi:160265 Number of datapoints: 38642023-02-21 16:56:04,138 root INFO - Ext id: pi:161026 Number of datapoints: 02023-02-21 16:56:05,471 root INFO - Ext id: houston.ro.REMOTE_AI[4] Number of datapoints: 1227352023-02-21 16:56:05,471 root INFO - Ext id: pi:160551 Number of datapoints: 02023-02-21 16:56:05,511 root INFO - Ext id: houston.ro.REMOTE_AI[75] Number of datapoints: 35902023-02-21 16:56:07,950 root INFO - Ext id: pi:160672 Number of datapoints: 2241612023-02-21 16:56:07,951 root INFO - Ext id: pi:160222 Number of datapoints: 02023-02-21 16:56:09,931 root INFO - Ext id: pi:160766 Number of datapoints: 1821492023-02-21 16:56:09,966 root INFO -
I am trying to replicate timeseries and data points however I am getting below errorAMAC02Z3123LVCJ:oid-replicator j.subhash.parandekar$ /usr/local/bin/python3 /Users/j.subhash.parandekar/oid-replicator/oid_replicator/replicate.py2023-02-21 11:31:43,353 root INFO - Config file - Repeat line 5: 2023-02-21 11:31:43,353 root INFO - Config file - Repeat line 15: 2023-02-21 11:31:43,353 root INFO - Config file - Repeat line 24: Starting replication of resourcesReplicating time series...2023-02-21 11:31:53,330 root INFO - There are 408 existing time series in source (publicdata).2023-02-21 11:31:53,330 root INFO - There are 10291 existing time series in destination (accenture-tiger-training).2023-02-21 11:31:57,719 root INFO - If a time series asset id is one of the 1115 assets that have been replicated then it will be linked.2023-02-21 11:31:57,719 root INFO - These copied/updated time series will have a replicated run time of: 1676959317000.2023-02-21 11:31:57,719 root INFO - Starting to
Ok I confirm that with the same client version of python SDK , the error reported is not occurring now. We can close this issue, thanks
Please let me know the updated Cognite SDK version where this fix/patch is available
created support request to check the access rights on the events resource type for the publicdata projecthttps://cognite.zendesk.com/hc/requests/7756
Sure please let us the if I need to use different secret
The code fails during event replication with below error2023-02-17 19:27:21,866 root INFO - Finished depth 12, updated 0 and posted 6 assets (total of 6 assets).2023-02-17 19:27:21,868 root INFO - Finished copying and updating 1115 assets from source (publicdata) to destination (accenture-tiger-training).Replicating events...Traceback (most recent call last): File "/Users/j.subhash.parandekar/oid-replicator/oid_replicator/replicate.py", line 8, in <module> main() File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/cognite/replicator/__main__.py", line 412, in main cognite.replicator.events.replicate( File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/cognite/replicator/events.py", line 238, in replicate events_src = client_src.events.list(limit=None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/cognite/client
I need to add src_client_secret: SOURCE_CLIENT_SECRET and dst_client_secret: DEST_CLIENT_SECRET to yml file to start replicator without the authentication error but the code is hanging for lot of time while replicating events as per below screen shot
Below are the content of the yml fileresources: # Which resource types to replicate- timeseries- datapoints- assets- events # OIDC PROJECTS --------------------------------------------------------------------------------------------------------# source CDF project identity variables for Open Industrial data projectsrc_boolean_client_secret: True # OIDC: whether the source project is being authenticated through a client secret or notsrc_TENANT_ID: 48d5043c-cf70-4c49-881c-c638f5796997 # OIDC: azure AD tenant of the source CDF projectsrc_CLIENT_ID: 1b90ede3-271e-401b-81a0-a4d52bea3273 # OIDC: Azure client app registration ID of the source CDF projectsrc_CDF_CLUSTER: api # cluster the source CDF project is running onsrc_COGNITE_PROJECT: publicdata # name of the source projectsrc_AUTHORITY_HOST_URI: "https://login.microsoftonline.com" # login uri for the source project # destination CDF project variablesdst_boolean_client_secret: True # OIDC: whether the destination project is being authent
Sure , this error especially come for frequency-weighted-bigram and bigram-combo feature_type
This not in any particular course. We are trying to run the entity matcher models to contextualize the assets and time series data in our project using python SDK. The below link contains the notebook for the samehttps://github.com/cognitedata/dshub-tutorials/blob/master/advanced/Comparing%20Entity%20Matching%20models%20with%20SDK%20demo.ipynb
As part of “Learn to Use the Cognite Python SDK” course in Data integration , while running “test_Authentication.ipynb” notebook , I am getting below error on line “c.login.status()” --> 703 httplib_response = self._make_request( 704 conn, 705 method, 706 url, 707 timeout=timeout_obj, 708 body=body, 709 headers=headers, 710 chunked=chunked, 711 ) 713 # If we're going to release the connection in ``finally:``, then 714 # the response doesn't need to know about the connection. Otherwise 715 # it will also try to release it and we'll have a double-release 716 # mess. File c:\Users\j.subhash.parandekar\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py:386, in HTTPConnectionPool._make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw) 385 try: --> 386 self._validate_conn(conn) 387 except (SocketTimeout, BaseSSLError) as e: 388 # Py2 raises this as a BaseSSLError, Py3 raises it as socket timeout. File c:\Users\j.subhash.parandekar
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.