Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GEN-2004] feat(frontend): source describe #1977

Merged
merged 233 commits into from
Dec 12, 2024

Conversation

alonkeyval
Copy link
Collaborator

This pull request introduces several new types and functionalities to enhance the analysis and description of Kubernetes sources in the frontend/graph module. The key changes include the addition of new types in the GraphQL schema and the implementation of a resolver function to describe sources.

New Types and Schema Enhancements:

  • GraphQL Schema (frontend/graph/schema.graphqls):
    • Added new types such as EntityProperty, InstrumentationLabelsAnalyze, InstrumentationConfigAnalyze, ContainerRuntimeInfoAnalyze, RuntimeInfoAnalyze, InstrumentedApplicationAnalyze, ContainerWorkloadManifestAnalyze, InstrumentationDeviceAnalyze, InstrumentationInstanceAnalyze, PodContainerAnalyze, PodAnalyze, and SourceAnalyze.
    • Updated existing schema definitions to include the new describeSource query and adjusted formatting for better readability. (frontend/graph/schema.graphqlsL208-R212, Fdc622fbL474R541)

New Structs and Types:

  • Model Definitions (frontend/graph/model/models_gen.go):
    • Added new structs such as ContainerRuntimeInfoAnalyze, ContainerWorkloadManifestAnalyze, EntityProperty, InstrumentationConfigAnalyze, InstrumentationDeviceAnalyze, InstrumentationInstanceAnalyze, InstrumentationLabelsAnalyze, InstrumentedApplicationAnalyze, PodAnalyze, PodContainerAnalyze, RuntimeInfoAnalyze, and SourceAnalyze. [1] [2] [3] [4] [5] [6] [7]

Resolver Implementation:

  • Resolver Function (frontend/graph/schema.resolvers.go):
    • Implemented the DescribeSource resolver function to handle the new describeSource query.

Service Layer:

  • Service Implementation (frontend/services/describe.go):
    • Added a new service function GetSourceDescription to fetch and convert source descriptions from Kubernetes into GraphQL response format.

These changes collectively enhance the system's ability to analyze and describe Kubernetes sources, providing detailed insights into various properties and configurations.

alonkeyval and others added 30 commits July 30, 2023 10:50
…urces-card

Task 107 overview sources card
…rce-manage-list

Task 142 display source manage list
…sources-connection

Task 145 handle new sources connection
alonkeyval and others added 25 commits October 10, 2024 11:26
@alonkeyval alonkeyval changed the title [Gen-2004] feat(frontend): source describe [GEN-2004] feat(frontend): source describe Dec 12, 2024
Copy link

Source Describe - gql

@BenElferink BenElferink merged commit ea35774 into odigos-io:main Dec 12, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants