We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b84ce commit 6378d35Copy full SHA for 6378d35
src/agent/services/lazer_exporter.rs
@@ -164,7 +164,6 @@ mod lazer_exporter {
164
state::local::LocalStore,
165
},
166
anyhow::bail,
167
- chrono::Utc,
168
ed25519_dalek::{
169
Keypair,
170
Signer,
@@ -257,12 +256,7 @@ mod lazer_exporter {
257
256
loop {
258
tokio::select! {
259
_ = publish_interval.tick() => {
260
- let now = Utc::now().timestamp_micros();
261
- let publisher_timestamp = MessageField::some(Timestamp {
262
- seconds: now / 1_000_000,
263
- nanos: (now % 1_000_000 * 1000) as i32,
264
- special_fields: Default::default(),
265
- });
+ let publisher_timestamp = MessageField::some(Timestamp::now());
266
let mut publisher_update = PublisherUpdate {
267
updates: vec![],
268
publisher_id: Some(config.publisher_id),
0 commit comments