Comments (4)
If I understand what you are trying to achieve correctly, I would say you don't really need delete events.
All you need is knowing that a certain row in your table does not exist anymore after a certain timestamp.
That way you can show the same table at different points (intervals?) in time highlighting the diffs.
Deletes are more for a system that ingests events and reacts to a change (e.g: trigger an alarm)
Keep in mind that gNMI sample subscriptions do not include delete notifications.
Postgres will be config heavy, you need to create a schema and explicitly map each received path to a key/field.
from gnmic.
I think I forgot to add one detail. In my solution data collection is based on stream mode on-change rather than sample. So we don't get full table data every interval. Those tables in network devices are changing relativety rarely. It doesn't make sense to subscribe interval based.
So in order to tell rows in the table at given point in time, I need to:
- Take latest entries of each row within time range starting from when the subsribtion has started (or restarted) as every time it starts full table is sent. (Or maybe I use heartbeat-interval of 1h to make it easier)
- Remove rows where last event was delete
Or is there way to solve the issue without delete events?
from gnmic.
I see your point, an additional tag that says delete=true
can be added when a delete is received.
from gnmic.
Related Issues (20)
- gnmic 0.35.1 - failed to create a gRPC client for target XXX: context deadline exceeded HOT 10
- Query about gnmi proto version HOT 4
- Slow changing metrics are not published to prometheus output HOT 2
- JQ filtering inconsistency? HOT 1
- Getting response for single subscription when multiple subscriptions are requested through config file with ONCE mode HOT 6
- Session reestablishment issues HOT 5
- Request for Example Configuration for PaloAlto & PAN-OS Environments
- Latest version fails to connect to local Unix socket HOT 1
- K8s Clustering Leader Receives Context Deadline Error on Target HOT 5
- gRPC working fine even if we pass server certificate instead of root CA in --tls-ca parameter. HOT 6
- My Prometheus is unable to scrape any telemetry data from gNMIc although gNMIc is collecting data from the target and exposing it on port 9273. HOT 4
- debug mode outputs password HOT 1
- My Prometheus is unable to scrape any telemetry data from gnmic for BGP operational state although gnmic is collecting data from the target and exposing it on port 9273. HOT 2
- gNMIc generate unknown path item HOT 3
- Event Processor Not Applying Transformation as Expected HOT 6
- GET intermittently failing with TLS13(DeadlineExceeded desc = context deadline exceeded) HOT 2
- .
- Unable to integrate Juniper Routers with gnmic HOT 9
- Broken Connection Event/Alert HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnmic.