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

Added extension ID to be used for exporting Juniper telemetry header. #76

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

amanand
Copy link

@amanand amanand commented May 27, 2020

The extension ID will be used to export the telemetry header used by Juniper for exporting key information for debugging as well as for use by collectors. Details about the message that is exported is present here:
https://github.com/Juniper/telemetry/blob/master/20.1/20.1R1/protos/GnmiJuniperTelemetryHeader.proto

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@amanand
Copy link
Author

amanand commented Jun 8, 2020 via email

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

Copy link
Contributor

@robshakir robshakir left a comment

Choose a reason for hiding this comment

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

Apologies, I thought that I'd seen a review of this go by/done one myself.

There are a couple of fields that it would be good to have clarified in the proto that you linked. Particularly:

  • event_timestamp -- this sounds like it should be the same as the timestamp in the Notification? In general, extensions should not create ambiguity between fields (since this hurts interoperability). Can you provide some clarification on this one?
  • export_timestamp -- is there a reference that determines what the export timestamp means? It would be good to clarify that this is informational w.r.t an internal of your architecture, rather than duplicating the gNMI Notification's timestamp field.

Thanks for considering these changes/clarifications.

Cheers,
r.

proto/gnmi_ext/gnmi_ext.proto Show resolved Hide resolved
@amanand
Copy link
Author

amanand commented Jun 19, 2020 via email

@amanand
Copy link
Author

amanand commented Oct 7, 2020

Hi @robshakir
Can you please share any updates on this?
Thanks
Amish

@gcsl
Copy link
Collaborator

gcsl commented Oct 7, 2020 via email

@robshakir
Copy link
Contributor

Yes - it sounds like event_timestamp is what should be in the Notification of the gNMI message - and that this proto should carry export_timestamp and gnmi_export_timestamp or something similar for the serialisation tracing/debugging.

If we merge with the current behaviour, then this essentially means that we're requiring vendor-specific implementation in this interface, since event_timestamp should be what is in the Notification.

For the record, I think this serialisation debugging/tracing is potentially a useful extension (and is something that we've discussed internally), such that I think there's room for a well-known extension here.

@amanand
Copy link
Author

amanand commented Oct 9, 2020

The difference between the Notification timestamp and event_timestamp will be noticeable only in case of Routing sensors due to queuing latency for those sensors. However, I agree the Notification timestamp should indeed be the event timestamp and the one in extension should be termed differently. I will update the proto accordingly and update Juniper implementation accordingly.
I agree that this could be well-known extension with possible couple of fields omitted out. Please do share any timelines for publishing the extension file. We will be keen to take part in any discussions around it.

@robshakir
Copy link
Contributor

Thanks for updating the proto -- please ping the PR when the change is made.

I'm happy for you to start a well-known extension issue to discuss which fields we might want to add here -- alternatively, I can start the issue. Once it's open (with a top-level proposal) I can ping other interested and potentially interested folks.

@amanand
Copy link
Author

amanand commented Jan 27, 2022

Hi Rob,
Sorry for pretty late action on this one. I have updated the pull request with the requested details.

Thanks
Amish

@robshakir
Copy link
Contributor

@amanand Is this still live? Apologies, I was on medical leave when you updated this, so I didn't see the change.

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.

4 participants