Skip to content

Conversation

@Jongy
Copy link
Contributor

@Jongy Jongy commented Dec 28, 2023

Description

This is a redo of the branch spark-app-id-as-container-name (from cf74924).

The idea is to allow using Spark application IDs as "container names" collected by gProfiler. Logically, a "container name" is just an identifier describing a process or a set of processes across (potentially) multiple nodes. For Docker/k8s/ecs etc, container names are logical. In Spark/YARN, application IDs or YARN application names can be used instead.

I turned ContainerNamesClient to a generic base ContainerNamesClientBase which is implemented by ContainerNamesClient (the old) and SparkContainerNamesClient (the new).

Related Issue

#869

How Has This Been Tested?

T.B.D

@Jongy Jongy added the enhancement New feature or request label Dec 28, 2023
Comment on lines +150 to +151
# container_names_client = ContainerNamesClient() if self._enrichment_options.container_names else None
container_names_client = SparkContainerNamesClient() if self._enrichment_options.container_names else None
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be made a CLI argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants