Skip to content

Remove incubating, introduce experimental#1123

Merged
eyalkoren merged 5 commits intoelastic:masterfrom
eyalkoren:incubating-to-experimental
Apr 7, 2020
Merged

Remove incubating, introduce experimental#1123
eyalkoren merged 5 commits intoelastic:masterfrom
eyalkoren:incubating-to-experimental

Conversation

@eyalkoren
Copy link
Contributor

@eyalkoren eyalkoren commented Apr 6, 2020

Removing the incubating term from our documentation if favour of experimental and add some expectation setting regarding features labeled as experimental.
As part of that, the incubating instrumentation group is deprecated, but this PR is still maintaining backwards compatibility for disable_instrumentation configurations that use it.

Checklist

Related issues

Closes #876

Copy link
Member

@felixbarny felixbarny left a comment

Choose a reason for hiding this comment

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

Let's deprecate incubating instead of removing entirely, to remain backwards compatibility.

@Override
public Collection<String> getInstrumentationGroupNames() {
return Arrays.asList(HibernateSearchConstants.HIBERNATE_SEARCH_ORM_TYPE, "incubating");
return Arrays.asList(HibernateSearchConstants.HIBERNATE_SEARCH_ORM_TYPE, "experimental");
Copy link
Member

Choose a reason for hiding this comment

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

I'd add both incubating and experimental. Otherwise, it's a breaking change for people that have set disable_instrumentation=incubating,foo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point!
Not really related to this location- I will internally treat incubating as if it is an experimental tag

@eyalkoren eyalkoren self-assigned this Apr 6, 2020
Comment on lines 31 to 44
[float]
[[experimental]]
=== Experimental features

Some agent features or <<supported-technologies-details,plugins>> are marked as `experimental`, which means:

* They are opt-in (disabled by default).
* There are no guarantees regarding changes in such features in future releases.
* In some cases they have special caveats or unknowns that come with them.
In such cases, the specific feature/plugin documentation should indicate that.

There are cases where we decide to release a feature as `experimental` to be on the safe side and only make it an official feature after we get some feedback about it.
Any such feedback will be highly appreciated, through a related GitHub issue or through the https://discuss.elastic.co/c/apm[APM discuss forum].

Copy link
Member

Choose a reason for hiding this comment

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

I would remove this entire Experimental features section. I think it's repetitive. Here's why:

* They are opt-in (disabled by default).
* There are no guarantees regarding changes in such features in future releases.

The note below, included with all experimental features, already explains both of these points.

NOTE: This feature is currently experimental, which means it is disabled by default and it is not guaranteed to be backwards compatible in future releases.

The third bullet point explains that documentation will indicate if there are caveats or unknowns.

The only thing missing is the feedback point. If that's important, I say we just update the experimental tag to something like this:

NOTE: This feature is currently experimental, which means it is disabled by default and it is not guaranteed to be backwards compatible in future releases. Have feedback? Visit the https://discuss.elastic.co/c/apm[APM discuss forum].
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree. I added this because there are places that are not part of the configuration docs (like the tuning page or supported technologies page where we just say (experimental).
However, since in such places we DO refer to the enablement configuration, we can probably remove this section.

The only thing missing is the feedback point

I don't think I want to add that into these configuration docs multiple times. It's ok to leave out.

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good to me. Thanks!

@eyalkoren eyalkoren merged commit 0da9a0d into elastic:master Apr 7, 2020
@eyalkoren eyalkoren deleted the incubating-to-experimental branch April 7, 2020 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants