-
Notifications
You must be signed in to change notification settings - Fork 165
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
docs: creating a devworkspace telemetry plug-in #2231
Conversation
...ensions/examples/creating-a-telemetry-plugin-for-devworkspaces/AnalyticsManagerSkeleton.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a couple of comments
modules/extensions/examples/creating-a-telemetry-plugin-for-devworkspaces/Dockerfile.jvm
Outdated
Show resolved
Hide resolved
modules/extensions/examples/creating-a-telemetry-plugin-for-devworkspaces/Dockerfile.native
Outdated
Show resolved
Hide resolved
...les/extensions/examples/creating-a-telemetry-plugin-for-devworkspaces/MainConfiguration.java
Outdated
Show resolved
Hide resolved
...s/examples/creating-a-telemetry-plugin-for-devworkspaces/che_cluster_with_custom_plugin.yaml
Outdated
Show resolved
Hide resolved
modules/extensions/examples/creating-a-telemetry-plugin-for-devworkspaces/pom_snippet.xml
Outdated
Show resolved
Hide resolved
modules/extensions/partials/proc_creating-a-telemetry-plugin.adoc
Outdated
Show resolved
Hide resolved
modules/extensions/examples/creating-a-telemetry-plugin-for-devworkspaces/pom_snippet.xml
Outdated
Show resolved
Hide resolved
@dkwon17 looks like there is one language suggestion that need to be addressed - |
9f9d1ea
to
d2bde18
Compare
Signed-off-by: David Kwon <[email protected]>
There is a validation error in the CI here: This error is referencing this part of the PR: che-docs/modules/extensions/partials/proc_creating-a-telemetry-plugin-for-devworkspaces.adoc Lines 69 to 79 in f43bbae
Although, I'm not sure how to fix this, since the code is already surrounded by |
modules/extensions/pages/creating-a-telemetry-plugin-for-devworkspaces.adoc
Outdated
Show resolved
Hide resolved
. Maven Quarkus project scaffolding: | ||
+ | ||
---- | ||
$ mvn io.quarkus:quarkus-maven-plugin:2.7.1.Final:create \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@themr0c, is there a way to pass through the contents of a code block so that Vale does not throw an error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could move the code to a separate file and include it, like on line 43 above?
include::example$creating-a-telemetry-plug-in-for-devworkspaces/main.go[]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could move the code to a separate file and include it, like on line 43 above?
I did this in my latest commit and there's no error on line 74 anymore. Still not completely sure why pass:[<!-- vale RedHat.TermsErrors = NO -->]
and pass:[<!-- vale RedHat.TermsErrors = YES -->]
. didn't suppress the error before.
I've added the pass
es in the latter part of the documentation and it is working there.
@themr0c please advise how can we set up the excludes for mvn command |
@dkwon17 could you please resolve the conflicts ? |
Please confirm this is a good conflict fix. I couldn't find an existing doc for |
modules/extensions/partials/proc_creating-a-telemetry-plugin.adoc
Outdated
Show resolved
Hide resolved
modules/extensions/partials/proc_creating-a-telemetry-plugin-for-devworkspaces.adoc
Outdated
Show resolved
Hide resolved
modules/extensions/partials/proc_creating-a-telemetry-plugin-for-devworkspaces.adoc
Outdated
Show resolved
Hide resolved
modules/extensions/partials/proc_creating-a-telemetry-plugin-for-devworkspaces.adoc
Outdated
Show resolved
Hide resolved
modules/extensions/partials/proc_creating-a-telemetry-plugin-for-devworkspaces.adoc
Outdated
Show resolved
Hide resolved
modules/extensions/partials/proc_creating-a-telemetry-plugin-for-devworkspaces.adoc
Outdated
Show resolved
Hide resolved
modules/extensions/partials/proc_creating-a-telemetry-plugin-for-devworkspaces.adoc
Outdated
Show resolved
Hide resolved
Signed-off-by: David Kwon <[email protected]>
Signed-off-by: David Kwon <[email protected]>
Signed-off-by: David Kwon <[email protected]>
...es/extensions/examples/creating-a-telemetry-plug-in-for-devworkspaces/project_scaffolding.sh
Outdated
Show resolved
Hide resolved
@dkwon17 looks great, added a single formatting update request (no new line for .sh) |
modules/extensions/partials/proc_creating-a-telemetry-plugin.adoc
Outdated
Show resolved
Hide resolved
modules/extensions/partials/proc_creating-a-telemetry-plugin.adoc
Outdated
Show resolved
Hide resolved
@@ -1,6 +1,13 @@ | |||
[id="creating-a-telemetry-plugin_{context}"] | |||
= Creating A Telemetry Plug-in | |||
|
|||
[WARNING] | |||
==== | |||
This page explains how to create a back-end telemetry plug-in for {prod-short} workspaces, which will be deprecated in favour of {devworkspace}s. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't write about the future in the docs.
Will removing this first sentence of this warning admonition make a difference to the meaning of the second sentence?
This page explains how to create a back-end telemetry plug-in for {prod-short} workspaces, which will be deprecated in favour of {devworkspace}s. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good ^
In general the plan is to remove non-devworkspace part in the future PRs completely as part of eclipse-che/che#21264 cleanup
modules/extensions/pages/creating-a-telemetry-plugin-for-devworkspaces.adoc
Outdated
Show resolved
Hide resolved
modules/extensions/partials/proc_creating-a-telemetry-plugin.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Max Leonov <[email protected]>
Signed-off-by: David Kwon <[email protected]>
Signed-off-by: David Kwon <[email protected]>
Thank you for the reviews everyone, I have committed the suggestions. |
Signed-off-by: David Kwon [email protected]
What does this pull request change
Adds a
Creating a Telemetry plugin For DevWorkspaces
section:The new content is similar to the
Creating a Telemetry plugin
section, except that the new content is specific to DevWorkspaces.This pull request also adds more details to the
Telemetry
section:What issues does this pull request fix or reference
eclipse-che/che#20820
eclipse-che/che#20090
Specify the version of the product this pull request applies to
This pull request adds content to the 7.43.x version docs, but this pull request applies to any version that supports devworkspace telemetry, which I believe, should be version 7.27.x and above.
After the PR feedback and after this PR is merged, I would like to make a new PR to add the content of this PR to main, since this content is DevWorkspace-specific.
Pull request checklist
The author and the reviewers validate the content of this pull request with the following checklist, in addition to the automated tests.
Validate language on files added or modified
step reports no vale warnings.