@@ -27,16 +27,22 @@ const (
2727 SentSpansKey = "sent_spans"
2828 // FailedToSendSpansKey used to track spans that failed to be sent by exporters.
2929 FailedToSendSpansKey = "send_failed_spans"
30+ // FailedToEnqueueSpansKey used to track spans that failed to be added to the sending queue.
31+ FailedToEnqueueSpansKey = "enqueue_failed_spans"
3032
3133 // SentMetricPointsKey used to track metric points sent by exporters.
3234 SentMetricPointsKey = "sent_metric_points"
3335 // FailedToSendMetricPointsKey used to track metric points that failed to be sent by exporters.
3436 FailedToSendMetricPointsKey = "send_failed_metric_points"
37+ // FailedToEnqueueMetricPointsKey used to track metric points that failed to be added to the sending queue.
38+ FailedToEnqueueMetricPointsKey = "enqueue_failed_metric_points"
3539
3640 // SentLogRecordsKey used to track logs sent by exporters.
3741 SentLogRecordsKey = "sent_log_records"
3842 // FailedToSendLogRecordsKey used to track logs that failed to be sent by exporters.
3943 FailedToSendLogRecordsKey = "send_failed_log_records"
44+ // FailedToEnqueueLogRecordsKey used to track logs records that failed to be added to the sending queue.
45+ FailedToEnqueueLogRecordsKey = "enqueue_failed_log_records"
4046)
4147
4248var (
6066 ExporterPrefix + FailedToSendSpansKey ,
6167 "Number of spans in failed attempts to send to destination." ,
6268 stats .UnitDimensionless )
69+ ExporterFailedToEnqueueSpans = stats .Int64 (
70+ ExporterPrefix + FailedToEnqueueSpansKey ,
71+ "Number of spans failed to be added to the sending queue." ,
72+ stats .UnitDimensionless )
6373 ExporterSentMetricPoints = stats .Int64 (
6474 ExporterPrefix + SentMetricPointsKey ,
6575 "Number of metric points successfully sent to destination." ,
6878 ExporterPrefix + FailedToSendMetricPointsKey ,
6979 "Number of metric points in failed attempts to send to destination." ,
7080 stats .UnitDimensionless )
81+ ExporterFailedToEnqueueMetricPoints = stats .Int64 (
82+ ExporterPrefix + FailedToEnqueueMetricPointsKey ,
83+ "Number of metric points failed to be added to the sending queue." ,
84+ stats .UnitDimensionless )
7185 ExporterSentLogRecords = stats .Int64 (
7286 ExporterPrefix + SentLogRecordsKey ,
7387 "Number of log record successfully sent to destination." ,
7690 ExporterPrefix + FailedToSendLogRecordsKey ,
7791 "Number of log records in failed attempts to send to destination." ,
7892 stats .UnitDimensionless )
93+ ExporterFailedToEnqueueLogRecords = stats .Int64 (
94+ ExporterPrefix + FailedToEnqueueLogRecordsKey ,
95+ "Number of log records failed to be added to the sending queue." ,
96+ stats .UnitDimensionless )
7997)
0 commit comments