Struct libeko::Message [] [src]

pub struct Message { /* fields omitted */ }

The Echo Event Format items.

Methods

impl Message
[src]

[src]

The message type. Additional types may be added in the future.

[src]

The timestamp of the event.

If producing your own messages, the format of the date should be either of:

  • An ISO-8601 date/time string (e.g. 2018-04-06T17:23:00-04:00)
  • A number representing milliseconds since epoch (e.g. 1491514054000). Note many timestamps are seconds since the epoch. That is incorrect for this usage.

[src]

The UUID that should be used to correlate message that are part of the same request or processing event. This can be used to correlate events across applications.

[src]

Sets the start time (timestamp of millis since the epoch) for the time at which this event started.

[src]

Sets the start time (timestamp of millis since the epoch) for the time at which this event finished.

[src]

Sets the duration (time in milliseconds) that passed during this event.

[src]

The HTTP response code returned by a performance event.

[src]

The size of a request payload, typically associated with performance events.

impl Message
[src]

[src]

Set the routing key.

[src]

Set the message.

[src]

Set the host.

[src]

Set the message detail KV map.

[src]

Set the application version.

[src]

Set the client hostname.

[src]

Set the destination hostname.

[src]

Set the destination path.

[src]

Set the response.

Trait Implementations

impl Default for Message
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Message

impl Sync for Message