package
1.8.0
Repository: https://github.com/azure/azure-sdk-for-go.git
Documentation: pkg.go.dev

# Functions

AddAuthFlags adds the flags needed for authenticating to Service Bus.
ConstantlyUpdateQueue updates queue, changing the MaxDeliveryCount properly between 11 and 10, every `updateInterval` This will cause Service Bus to issue force-detaches to our links, allowing us to exercise our recovery logic.
No description provided by the author
LoadEnvironment loads an .env file.
MustCreateAutoDeletingQueue creates a queue that will auto-delete 10 minutes after activity has ceased.
No description provided by the author
No description provided by the author
No description provided by the author
NewCtrlCContext creates a context that cancels if the user hits ctrl+c.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TrackDuration tracks durations (as a metric), using the initial call to TrackDuration as the start.
TrackError tracks an error (using the AppInsights exceptions table).
TrackMetric tracks metric and respects any included baggage in the context.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
TODO: I made these up entirely.
No description provided by the author
No description provided by the author
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
TODO: separate for session vs message lock?.
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
TODO: I've made these up entirely.
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
metrics related to Service Bus sessions (NOT amqp sessions).
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
These names are modeled off of the metrics from Java https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/implementation/instrumentation/ServiceBusMeter.java and from our standard for attributes: https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92.
these metrics are specific to stress tests and wouldn't be in customer code.

# Structs

No description provided by the author
No description provided by the author
StressContext holds onto some common useful state for stress tests, including some simple stats tracking, a telemetry client and a context that represents the lifetime of the test itself (and will be cancelled if the user quits out of the stress).
No description provided by the author
TelemetryClientWrapper is a wrapper for telemetry client, once we get that phased back in.
No description provided by the author
No description provided by the author
TrackingReceiver reports metrics and errors automatically for its methods.
TrackingSender reports metrics and errors automatically for its methods.

# Type aliases

No description provided by the author
No description provided by the author