> a) Am I right that no indicator is there?
> 
> b) Assuming there should be one:
> 
> * Where should it go? Presumably it needs to be an attribute of
> each sample because as agents leave and join the group, where
> samples are published from can change.
> 
> * How should it be named? The never-ending problem.
disclaimer: i'm just riffing and the following might be nonsense.
i don't think we have a formal indicator on where a sample came from. we do 
attach a message signature to each sample which verifies it hasn't been 
tampered with.[1] i could envision that being a way to trace a path (right now 
i'm not sure you're able to set a unique metering hash key per agent)
that said, i guess it's really dependent on how you plan on debugging? it might 
be easy to have some sort of logging to include the agents id and what sample 
it's publishing.
i guess also to extend your question about agents leaving/joining. i'd expect 
there is some volatility to the agents where an agent may or may not exist at 
the point of debugging... just curious what the benefit is of knowing who sent 
it if all the agents are just clones of each other.
[1] 
https://github.com/openstack/ceilometer/blob/a77dd2b5408eb120b7397a6f08bcbeef6e521443/ceilometer/publisher/rpc.py#L119-L124
cheers,
gord

                                          
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to