Skip to content

Empty resource is getting published in Choreo analytics when invoking a GraphQL Subscription #12737

@wasuradananjith

Description

@wasuradananjith

Description:

An empty resource is getting published multiple times in Choreo analytics when invoking a GraphQL Subscription operation

Steps to reproduce:

  1. Setup Choreo Analytics as mentioned in [1].
  2. Create a GraphQL API [2].
  3. Invoke a GraphQL Subscription [3]. (Refer to the below for a sample invocation screenshot)
    image
  4. The corresponding analytics data will be shown in the Choreo Analytics portal as shown below.
    screencapture-console-choreo-dev-organizations-wasurawattearachchi-insights-traffic-2022-03-22-17_45_43
  5. The marked record in the above screenshot contains an empty resource and an API method which is not meaningful at all.

Affected Product Version:

APIM 4.1.0-PreRC

[1] https://apim.docs.wso2.com/en/4.1.0/tutorials/scenarios/scenario7-analytics/#step-1-set-up-analytics
[2] https://apim.docs.wso2.com/en/4.1.0/design/create-api/create-a-graphql-api/
[3] https://apim.docs.wso2.com/en/4.1.0/consume/invoke-apis/invoke-apis-using-tools/invoke-an-graphql-api-using-the-integrated-graphql-console/#invoke-a-graphql-subscription-operation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions