Join the conversations to shape a safer, more efficient, and sustainable industrial future!
Recently active
Hi everyone,I'm currently using a nested filter in my view, and everything seems to work correctly — except in the tabular view.Here’s what I observe:In the tabular interface, the table shows 0 objects. However, when I click into the table, I can actually see that the instances are present. Below is an example of the nested filter I’m using:Below is an example of the nested filter I’m using:@view( rawFilter: { and: [ { nested: { scope: ["Cement", "ScenarioContent"] filter: { equals: { property: ["ScenarioContent", "Type"] value: "PLANNED" } } } }, { nested: { scope: ["Cement", "ScenarioContent"] filter: { equals: { property: ["ScenarioContent", "IsLast"] value: true } } } } ]When checking the request, I see the following error:{ "errors": [ { "message": "Client r
Hi Hub, We have some backend code running as a Github Action that fetches events using `clients.events.list` over a period of 1 year. The fetching is of course chunked into smaller time frames to avoid memory overload. This has worked just fine until recently where we are frequently encountering aCogniteReadTimeouterror, which can be traced back to the following HTTP request error:requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='az-ams-sp-002.cognitedata.com', port=443): Read timed out. (read timeout=30)The error occurs inconsistently and not necessarily at the same point in time of the workflow run. Have there been any recent changes/restrictions in the Cognite SDK that could explain the cause of the issue? As mentioned, some weeks ago the workflow succeeded without problems. For additional context, we are using multiple threads to fetch events in parallel over metadata, for events within same time interval. Also, we use multiple cores to parallelize fetching and subsequent
When deploying a function with the SDK you can specify the source code “folder” as a parameter. I have used this to deploy the functions with my own python module which is just a directory with some py files. I want to migrate to using the toolkit, but I am not sure how to deploy with the source code folder I want as I do not see a way to specify it in the yaml file. Can anyone help with this? I have multiple Cognite Functions that I want to deploy that all access the same source code I have written.Thank you!Sebastian
¿HOW COGNITE DATA FUSION HELP US TO IMPROVE THE ENEERGY EFFICIENCY IN AN INDUSTRIAL PROCESS?
I see there is a fork for ToolJet in the CogniteData git repo. I’m curious to know if Cognite has done anything with this branch and if so, how it’s being used within the product. Thanks!
We are trying to implement automatic monitoring over our transformations in CDF. We are doing this by running a transformation and a monitoring function in the same workflow, where the monitoring function is dependent on the transformation being finished.Then we retrieve the sum of updated and created events like this: def _created_and_updated_sum(self, transformation_external_id: str) -> int: """ Get the sum of the number of created and updated events in the last transformation job. If there are no finished jobs, return 0 instead. """ transformation = self.cdf_client.transformations.retrieve( external_id = transformation_external_id, ) if transformation is None: raise ValueError(f"Transformation {transformation_external_id} not found") if transformation.last_finished_job is None: DUMMY = 0 self.logger.info(f"Transformation {transformation_external_id} has no finished jobs.
I noticed a few misses / potential improvements in the alerts & monitoring section of Cognite charts - Was wondering if anybody else had similar experiences?Email alerts always come in UTC (Considering we are based out of India, we may miss important alerts because of this). Let's say I have an Asset where I have generated a chart (in our case a particular well from a particular lift type showing critical parameters). A filter-based option where I can just switch Wells showing - using the same parameters as tagged before.
Hi,I would like to ask if Cognite Maintain or CDF can show the available bill of materials on equipment in the source system(for eg. in SAP).For example if technician can view the BoM on P&ID and the most frequently consumed materials on equipment, e.g compressor.
Hi Community,I am havng an issue where I tried to use the Cognite-Extractor-Manager (cogex) for custom extractor development.I just install and create new project using cogex init. When i tried to run using "poetry run test_extractor", it returned below error: Also having another error when executing the "cogex build” command: Anyone having the same issue?Tools:python == 3.11.9cognite-extractor-manager == 2.0.0
We use DB Exctractor to push data from MSSQL Database to RAW, but have run into a problem.Over time the raw table grows much larger than the Database table and this is due to rows that are deleted in database will not be deleted in RAW. How can I set up the config yaml for db extractor to also handle rows that are deleted in database?
Is there a limit on the number of characters for String data that can be stored in a Timeseries?I would like to manage a JSON file that defines the configuration values of a certain system in CDF. Since the JSON file will be changed frequently and I also want to check the historical configuration records, I am considering defining it as a string timeseries and storing the JSON string in data point.However, if there is a character limit, it would restrict the size of the JSON string that can be stored, so I would like to confirm the specifications. As far as I have searched, there is no mention of this in the documentation.
Hello people,I’m testing CDM and I want to extend a current model type, I may do it wrong, but my idea is. I’m creating a new type called MyModel, that will be pretty much and CogniteActivity + new fields.But I don’t know what I’m doing wrong.type MyModel @import ( dataModel: { externalId: "CogniteActivity", space: "cdf_cdm", version: "v1" } ){ FieldA: String, FieldB: String}I got some guidance from this link https://docs.cognite.com/cdf/dm/dm_guides/dm_extending_core_data_modelWhen I try to save, I got this error{ "title": "Error: could not update data model", "message": "An error has occured. Data model was not published.", "extra": "[Line: 40] Data model 'DataModelRef(space=cdf_cdm, externalId=CogniteActivity, version=v1)' cannot be found" }Thanks in advance
On behalf of CelaneseHi.I would like to report a potential issue with cursor-based pagination when sorting in descending order and request clarification on the undocumented forceCursorsDespitePerformanceHazard flag.We are executing a query against the view OEEEvent, which is defined with a cursorable BTREE index on the startDateTime property, as shown in the simplified schema below: type OEEEvent@container( indexes: [ { fields: ["startDateTime"] identifier: "idx_oeev_startDateTime" indexType: BTREE cursorable: true } ]) { startDateTime: Timestamp endDateTime: Timestamp totalDuration: Float} We are querying with the following time range filter: "startDateTime": { "gte": "2024-12-31T00:00:00.000-03:00", "lt": "2025-05-01T00:00:00.000-03:00"} The result set includes 840 records.When applying a page size of 500 and using the following ascending sort configuration: { "property": [ "INO-COR-ALL-DML", "OEEEvent/472bdbcb9cd6f1", "startDateTime" ],
Hi, I have moved to a new handset and require an MFA reset, is someone able to help please? Thank you!
Hi,Will there be any major changes to the API and Python SDK when moving from an asset centric data model to a flexible data model? Do we have to expect to refactor our backend using the current python sdk once the flexible data model is operationalized?Best regards,Vetle.
I’m trying to update the is_string value of Time Series from false to true using CDF python class ognite.client.data_classes.time_series.TimeSeriesUpdate. But I’m unable to update it. The value in CDF remains false even though I updated it. Is this an expected behavior of Time Series Update?
Hi,I have set up a monitoring job to generate alerts for specific time-series. Although, it is not clear to me where these alerts are being stored as I can’t find them anywhere in Data Explorer. The documentation (https://docs.cognite.com/cdf/charts/) also doesn’t provide details about it.Can someone share more details about how the alerts are stored and if it’s possible to access them outside Charts?
Hello,I notice from the Events API documentation that the start_time can be specified by a TimestampRange object. However, the documentation does not explain what this object is, whether it is a class external to the Cognite SDK, or give any examples on how to use it.Can someone give more information?-Anders
Hi,When deploying functions through the OIDC pipeline with github actions, it fails on pre-commit:As I understand, this change has not been communicated clearly enough. Looks like the actions/cache package needs an update. Will the OICD github repo be updated? I know that the CDF toolkit may be the preferred way (we are migrating over to that shortly), but in the meantime we need this pipeline up and running. As I am not experienced in building packages, can someone guide me in the right directions regarding updating the package? Looks like the workflows needs to be updated to version 4 for the actions/cache to be supported again
Since yesterday, I've noticed that deploying functions via the Cognite SDK is failing. Our strategy involves uploading a zip file of the function and then creating the function. While the file uploads successfully, the function creation process returns a "Gateway Timeout" error. I've tried deploying both locally and through the Azure Pipeline, but the error persists. Initially, I thought it might be a temporary instability, but the issue continues this morning. Cognite API error
Hi, I have been trying to use the sync API to try and pull changes from a data model - specifically node instances from a view. When testing, some fields within a view was changed / updated but I was not able to pull anything new using the sync API. This was after I created a baseline of the full dataset using the Query endpoint.The sync endpoint did work when new nodes were added to the view, it would only pull the new row, so I think my query is correct. Is there some sort of parameter to turn on / other way to use the sync API to retrieve changes and new additions to instances?
Hello, we are facing an SSL issue while trying to connect to cognite even if we’re disabling SSL verification.Could you please help ?from cognite.client import ClientConfig, CogniteClientfrom cognite.client.credentials import OAuthClientCredentialsfrom cognite.client.config import global_configglobal_config.disable_ssl = Truecreds = OAuthClientCredentials( **{ "client_id": "", "client_secret": "", "token_url": "", "scopes": ["https://westeurope-1.cognitedata.com/.default"], } )def get_cognite_client(project: str) -> CogniteClient: return CogniteClient( ClientConfig( client_name="Python-jupyter", project=project, credentials=creds, base_url="https://westeurope-1.cognitedata.com", ) )client = get_cognite_client("totalenergies-sandbox")res = client.units.list().to_pandas()------------------------------------------------------------------------------------
What is the maximum numbers of the rows supported in cognite staging tables
Hello, We have been trying to download this package (spgci) using Jupyter in CDF but are getting the following error: Based on this documentation, it seems like its not possible to do so. Could you please advise if there is a solution for this issue?
I have created one dataset but not showing in Restrict access to the transformation dropdown