-
Notifications
You must be signed in to change notification settings - Fork 10
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
Rust sdk #153
Rust sdk #153
Conversation
8cbfb17
to
86cf21a
Compare
d910227
to
c4392f0
Compare
geo_routing enables mobility Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
MqttClient and MqttRouter visibility was limited to the crate as they were not meant to be exposed initially Now that we need to be able to do MQTT without mobiity features, removing the crate visibility restriction Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
test 1 ok:
|
I fail to receive the copycat. Please let's describe the exact test to process. My test:
I don't receive the copy:
The log:
|
I've got a curious log we I run the copycat:
|
test 3 ko. Just reading the code, it seems the path config field isn't read, and we use http://its-platform.com:17910/v1/traces instead of (http://its-platform.com:17910/telemetry/default/v1/traces (not sure):
Did you check on jaeger ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments. tests 3 and 4 ko, to fix.
The example config connects to If you want to test the behaviour of the the example you need to either connect to a broker where CAM are already sent or to send your own to |
There is no Information message sent on |
5362610
to
b6c8bcf
Compare
I'm sending cam's : let's check the |
test 3 stays ko on my side. The config.ini file used:
You could trace the complete url used to check if you're well using the config file. |
test 4 stays ko with my commands:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests 3. and 4. ko on my side
test 4. ok :
because each analyse is waiting a new message. |
bc7eb6f
to
1f9cb2e
Compare
Telemetry example has been fixed, you can test it again For other points mentioned about the copycat example I opened a dedicated issue for further discussion and fixes |
New example illustrating how to connect to a broker and treat messages without using the mobility feature Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Requiring HTTP related features from open telemetry dependencies As we use HTTP also add `reqwest` and `http` dependencies Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Module to provide higher level OpenTelemetry span management functions Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Restrict telemetry module to telemetry feature Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Impl Injector and Extractor traits for Packet to allow it to be used by TraceContextPropagator for W3C context storage/retrieval Use PublishProperties to store W3C context as MQTT property Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
This unit test was failing since the beginning but waas missed because only `cargo test` was launched and as geo_topic module is restricted to `geo_routing` feature it requires `cargo test --feature geo_routing` to be launched Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
SimpleExporter sends Span once they end and does not seem to be compatible from Tokio runtime Switch to BatchedSpanProcessor using Tokio runtime to fix the runtime errors when using mobility pipeline and to enhance performances Signed-off-by: Nicolas Buffon <nicolas.buffon@orange.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's new
json_counter
example to illustrate how to use mqtt modtest.mosquitto.org
as public MQTT broker in the example configuration fileFixes #125
mobility
mobility
for mobility related structs and methodsmobility
featuretelemetry
telemetry
for telemetry related structs and methodstelemetry
example to illustrate how to use telemetry modHow to test
Launch json_counter example
Example runs and yields about the number of JSON messages received among the total
Configure OTLP collector
Edit the
example/config.ini
file to set the OTLP collector endpoint config by filling the following sectionLaunch telemetry example
Example runs and sends 4 traces
Launch copycat example
=> The example correctly runs