# tibemsProducerInfo_GetDetailedStatistics

Function

## Purpose

Get detailed statistics for an unidentified producer.

## C Declaration

    tibems_status tibemsProducerInfo_GetDetailedStatistics(
        tibemsProducerInfo producerInfo,
        tibemsCollection* collection;

## COBOL Call

    CALL "tibemsProducerInfo_GetDetailedStatistics"
     USING BY VALUE producerInfo,
           BY REFERENCE collection,
           RETURNING tibems-status
    END-CALL.

Note: `collection` has usage pointer.

## Parameters

Parameter | Description
--- | ---
`producerInfo` | Get statistics for this producer.
`collection` | Store the statistics as a collection of `tibemsDetailedDestStat` objects.

## Remarks

Get detailed statistics for an unidentified producer, giving a breakdown of the producer's aggregate statistics across all destinations that it has published messages on.

This function returns `NULL` when there are no detailed statistics available for the producer. This can happen when, for example, detailed statistics for producers are disabled in the server.

## See Also

`tibemsDetailedDestStat`

Copyright © Cloud Software Group, Inc. All rights reserved.