Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export const NetSchema = require('@site/src/schema-markup/sdk-reference/net.json
## Run locally using Docker

1. Have [Docker](https://www.docker.com) CLI installed

2. Crate container
```bash
docker build -t docs:latest .
Expand Down
2 changes: 1 addition & 1 deletion website/docs/advanced/caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This animation explains the different polling modes:

## Caching

ConfigCat SDKs in their default setup store all the information they need for feature flag evaluation in memory. This behavior is extendable with custom cache implementations that you can use for pointing the SDK to your own data storage.
ConfigCat SDKs in their default setup store all the information they need for feature flag evaluation in memory. This behavior is extendable with custom cache implementations that you can use to point the SDK to your own data storage.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The same mistake is also present in the Proxy's documentation.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

fixed the remaining ones


The main reason for caching is to accelerate serving feature flag evaluation requests when your application is in a stateless environment or frequently restarts.
When the SDK notices that it has a valid cache entry to work with, it will use the data from the cache rather than initiating a new HTTP request towards ConfigCat.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/advanced/data-governance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ By default, the ConfigCat SDK contacts the ConfigCat Global CDN. However, if you

#### `Warning: The dataGovernance parameter specified at the client initialization is not in sync with the preferences on the ConfigCat Dashboard....`

**Don't worry,** your feature flags will still be served. See above example.
**Don't worry,** your feature flags will still be served. See the example above.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ we are happy to raise your limits temporarily so you can fully explore the produ
<li>Characters that are invalid in ConfigCat are replaced with `_`. If the first character is not a letter,
the prefix `x_` is also added to the key. If this results in a conflicting key, it is made unique by adding
a number suffix.</li>
<li>Conflicts are resolved by adding a number suffix. (But always the uniqueness of the the actually imported
<li>Conflicts are resolved by adding a number suffix. (But always the uniqueness of the actually imported
flags' keys are ensured first.)</li>
</ol>
</td>
Expand Down
8 changes: 4 additions & 4 deletions website/docs/advanced/notifications-webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Go to the <a href="https://app.configcat.com/webhook" target="_blank">Webhooks</
Click the **+ ADD WEBHOOK** button.
</Step>
<Step>
Choose **when** webhook notifications should be sent by selecting the **Config** and **Environment** where changes should trigger the Webhook.
Choose **when** webhook notifications should be sent by selecting the **Config** and **Environment** where changes should trigger the Webhook.
</Step>
<Step>
Define **how** to notify your system by setting the **URL** and the **HTTP METHOD**. This tells us which endpoint to call.
Expand Down Expand Up @@ -157,13 +157,13 @@ const crypto = require('crypto');
const signingKey =
'configcat_whsk_VN3juirnVh5pNvCKd81RYRYchxUX4j3NykbZG2fAy88=';

// retrieved from the the X-ConfigCat-Webhook-Signature-V1 request header
// retrieved from the X-ConfigCat-Webhook-Signature-V1 request header
const receivedSignature = 'Ks3cYsu9Lslfo+hVxNC3oQWnsF9e5d73TI5t94D9DRA=';

// retrieved from the the X-ConfigCat-Webhook-ID request header
// retrieved from the X-ConfigCat-Webhook-ID request header
const requestId = 'b616ca659d154a5fb907dd8475792eeb';

// retrieved from the the X-ConfigCat-Webhook-Timestamp request header
// retrieved from the X-ConfigCat-Webhook-Timestamp request header
const timestamp = 1669629035;

// the webhook request's raw body
Expand Down
4 changes: 2 additions & 2 deletions website/docs/advanced/proxy/monitoring.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ CONFIGCAT_DIAG_METRICS_PROMETHEUS_ENABLED=<true|false>
You can set up the Proxy to send metrics via <a href="https://opentelemetry.io/docs/specs/otlp/" target="_blank" rel="noreferrer noopener">OTLP</a>
to a compatible collector such as <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OTLPEndpoint.html" target="_blank" rel="noreferrer noopener">Amazon CloudWatch</a>,
<a href="https://docs.newrelic.com/docs/opentelemetry/get-started/apm-monitoring/opentelemetry-apm-intro/" target="_blank" rel="noreferrer noopener">NewRelic</a>,
<a href="https://docs.datadoghq.com/opentelemetry/setup/otlp_ingest_in_the_agent" target="_blank" rel="noreferrer noopener">DataDog</a>,
<a href="https://docs.datadoghq.com/opentelemetry/setup/otlp_ingest_in_the_agent" target="_blank" rel="noreferrer noopener">Datadog</a>,
or <a href="https://docs.honeycomb.io/send-data/opentelemetry/" target="_blank" rel="noreferrer noopener">Honeycomb</a>.

#### Custom Metrics
Expand Down Expand Up @@ -517,7 +517,7 @@ OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer <token>"
The Proxy is able to send traces via <a href="https://opentelemetry.io/docs/specs/otlp/" target="_blank" rel="noreferrer noopener">OTLP</a>
to a compatible collector such as <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OTLPEndpoint.html" target="_blank" rel="noreferrer noopener">Amazon CloudWatch</a>,
<a href="https://docs.newrelic.com/docs/opentelemetry/get-started/apm-monitoring/opentelemetry-apm-intro/" target="_blank" rel="noreferrer noopener">NewRelic</a>,
<a href="https://docs.datadoghq.com/opentelemetry/setup/otlp_ingest_in_the_agent" target="_blank" rel="noreferrer noopener">DataDog</a>,
<a href="https://docs.datadoghq.com/opentelemetry/setup/otlp_ingest_in_the_agent" target="_blank" rel="noreferrer noopener">Datadog</a>,
or <a href="https://docs.honeycomb.io/send-data/opentelemetry/" target="_blank" rel="noreferrer noopener">Honeycomb</a>.

You can control whether trace collection should be enabled with the following configuration option:
Expand Down
2 changes: 1 addition & 1 deletion website/docs/advanced/proxy/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ When an SDK also has its offline option set, that will override what it would in

## Cache

The Proxy in its default setup stores all the information it needs for feature flag evaluation in memory. This behavior is extendable with an external cache that you can use for pointing the underlying SDKs to your own data storage.
The Proxy in its default setup stores all the information it needs for feature flag evaluation in memory. This behavior is extendable with an external cache that you can use to point the underlying SDKs to your own data storage.

Currently, <a target="_blank" href="https://redis.io">Redis</a>, <a target="_blank" href="https://mongodb.com/">MongoDB</a>, <a target="_blank" href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide">DynamoDB</a>, and file-based caching are supported as external caches.
The cache key for the underlying SDKs is based on the [SDK Key](#sdk-identifier--sdk-key). This means that multiple Proxy instances using the same SDK key will read/write the same cache entry.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/change-requests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Propose, schedule, and review feature flag changes using change req
---

A _change request_ is a set of feature flag changes that you prepare on ConfigCat Dashboard without publishing them right away.
You can propose changes for later manual publishing, or schedule it to be applied automatically at a specific time.
You can propose changes for later manual publishing, or schedule them to be applied automatically at a specific time.
This supports the four-eyes principle, because another person can review and approve the change before it reaches production.

Typical use cases:
Expand Down
8 changes: 4 additions & 4 deletions website/docs/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ You need to have the [Billing Manager](organization.mdx#billing-manager-role) ro
Go to the [Billing & Invoices page.](https://app.configcat.com/organization/billing) and click the `Update billing details` link.
You need to have a [Billing Manager](organization.mdx#billing-manager-role) role to access the Billing & Invoices page.

### The ChargeBee payment gets stuck | Throws an error
### The Chargebee payment gets stuck | Throws an error

If you're using Firefox, try switching to a Chromium-based browser that has extensions turned off. If this doesn't work, [contact us](https://configcat.com/support/) for help.

Expand Down Expand Up @@ -163,7 +163,7 @@ Yes! You can export and download your current product as a standard JSON file an
### How long does ConfigCat keep my data?

We keep organization data as long as we see activity in that organization.
After several months of inactivity, we send you a series of email notifications about or plans to delete your organization and all associated data.
After several months of inactivity, we send you a series of email notifications about our plans to delete your organization and all associated data.
We consider an organization inactive if it meets all of the following criteria:
- no audit log events are generated in the organization,
- no valid calls are made to the organization via the Public Management API,
Expand Down Expand Up @@ -201,7 +201,7 @@ Zombie (Stale) flags are feature flags that are not changed in the last (configu

### What is the Zombie (Stale) Flags Report?

The [Zombie (Stale) Flags Report](https://app.configcat.com/my-account/zombie-flags-report) is a list of all feature flags that are not changed in the last (configurable) number of days. You can use this report to identify and remove stale feature flags from your source code. This report is weekly emailed to you. You can set your [email preferences here](https://app.configcat.com/my-account/zombie-flags-report).
The [Zombie (Stale) Flags Report](https://app.configcat.com/my-account/zombie-flags-report) is a list of all feature flags that are not changed in the last (configurable) number of days. You can use this report to identify and remove stale feature flags from your source code. This report is emailed to you weekly. You can set your [email preferences here](https://app.configcat.com/my-account/zombie-flags-report).

### I am not getting the Zombie Feature Flag email report. What am I doing wrong?

Expand Down Expand Up @@ -250,7 +250,7 @@ Yes, it is possible. All you have to do is to create a text setting and apply th

### Is there a way to create feature flags via the API?

Yes there is. We have a public management API at https://api.configcat.com.
Yes, there is. We have a public management API at https://api.configcat.com.

### How to resolve Domain verification issues?

Expand Down
2 changes: 1 addition & 1 deletion website/docs/integrations/datadog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ For example here is how to search for events that happened in the production env

## Useful Resources

- [How to send feature flag change notifications to DataDog - Blog Post](https://configcat.com/blog/2021/03/17/connect-configcat-and-datadog/)
- [How to send feature flag change notifications to Datadog - Blog Post](https://configcat.com/blog/2021/03/17/connect-configcat-and-datadog/)
- [ConfigCat Integrations API](https://configcat.com/docs/api/reference/integrations/)
2 changes: 1 addition & 1 deletion website/docs/integrations/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Streamline your workflows by integrating ConfigCat with your essential tools and
<a className="integration-card" href="/docs/integrations/datadog">
<div className="title">
<div className="logo datadog"></div>
<div className="title-text">DataDog</div>
<div className="title-text">Datadog</div>
</div>
<div className="description">
<span>Monitor feature flag events in real-time. Feature flag changes will appear as events in Datadog, tagged with relevant product, config, and environment details.</span>
Expand Down
2 changes: 1 addition & 1 deletion website/docs/news.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ You can get early access to the new features and shape the final product with yo

#### Jan 9, 2024

From now on, you can change the order of your products, configs and environments trough the ConfigCat Public Management API and the Terraform provider. See the docs for details:
From now on, you can change the order of your products, configs and environments through the ConfigCat Public Management API and the Terraform provider. See the docs for details:

- *ConfigCat Public Management API*: specify the order argument in the [Products](/api/reference/products), [Configs](/api/reference/configs), [Environment](/api/reference/environments) and [Feature Flags & Settings](/api/reference/feature-flags-settings) endpoints
- *ConfigCat Feature Flags Provider for Terraform*: specify the order argument of the [configcat_product](https://registry.terraform.io/providers/configcat/configcat/latest/docs/resources/product#argument-reference), [configcat_config](https://registry.terraform.io/providers/configcat/configcat/latest/docs/resources/config#argument-reference), [configcat_environment](https://registry.terraform.io/providers/configcat/configcat/latest/docs/resources/environment#argument-reference) and [configcat_setting](https://registry.terraform.io/providers/configcat/configcat/latest/docs/resources/setting#argument-reference).
Expand Down
4 changes: 2 additions & 2 deletions website/docs/sdk-reference/android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ The _ConfigCat SDK_ supports 3 different polling strategies to fetch feature fla

The _ConfigCat SDK_ downloads the latest config data from the ConfigCat CDN automatically every 60 seconds and stores it in the cache.

Use the the `autoPollIntervalInSeconds` option parameter of the `PollingModes.autoPoll()` to change the polling interval.
Use the `autoPollIntervalInSeconds` option parameter of the `PollingModes.autoPoll()` to change the polling interval.

```java
ConfigCatClient client = ConfigCatClient.get("#YOUR-SDK-KEY#", options -> {
Expand Down Expand Up @@ -685,7 +685,7 @@ Examples for <a href="https://github.com/configcat/android-sdk/blob/master/sampl

### Log Filtering

You can define a custom log filter by implementing the `LogFilterFunction` interface. The `apply` method will be called by the _ConfigCat SDK_ each time a log event occurs (and the event passes the minimum log level specified by the `logLevel` option). That is, the `apply` method allows you to filter log events by `logLevel`, `eventId`, `message` or `exception`. The formatted message string can be obtained by calling `toString()` on the `message` parameter.
You can define a custom log filter by implementing the `LogFilterFunction` interface. The `apply` method will be called by the _ConfigCat SDK_ each time a log event occurs (and the event passes the minimum log level specified by the `logLevel` option). That is, the `apply` method allows you to filter log events by `logLevel`, `eventId`, `message` or `exception`. The formatted message string can be obtained by calling `toString()` on the `message` parameter.
If the `apply` method returns `true`, the event will be logged, otherwise it will be skipped.

```java
Expand Down
2 changes: 1 addition & 1 deletion website/docs/sdk-reference/community/laravel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class DefaultUserTransformer

Feel free to create your own transformer class and use it instead, just **remember** that it needs to be **callable** with the `__invoke()` function.

> **Note:** for security reasons, all of the logic computation for the user targeting is executed on your application side of things using ConfigCat's SDK. No user details will be leaving your application in order find out wether or not a user should have a feature flag enabled or not.
> **Note:** for security reasons, all of the logic computation for the user targeting is executed on your application side of things using ConfigCat's SDK. No user details will be leaving your application in order to find out whether or not a user should have a feature flag enabled or not.

Once you have defined your mapping, you will be able to explicitly use the representation of your user when checking a feature flag:

Expand Down
2 changes: 1 addition & 1 deletion website/docs/sdk-reference/dart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ The _ConfigCat SDK_ supports 3 different polling strategies to fetch feature fla

The _ConfigCat SDK_ downloads the latest config data from the ConfigCat CDN automatically every 60 seconds and stores it in the cache.

Use the the `autoPollInterval` option parameter of the `PollingMode.autoPoll()` to change the polling interval.
Use the `autoPollInterval` option parameter of the `PollingMode.autoPoll()` to change the polling interval.

```dart
final client = ConfigCatClient.get(
Expand Down
2 changes: 1 addition & 1 deletion website/docs/sdk-reference/dotnet/_template.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,7 @@ See [this sample code](https://github.com/configcat/.net-sdk/blob/master/samples
### Log Filtering

You can define an {props.platform === "generic-host" ? <>additional</> : <>custom</>} log filter by providing a callback function via the `ConfigCatClientOptions.LogFilter` property.
The callback will be called by the _ConfigCat SDK_ each time a log event occurs {!props.platform ? <>(and the event passes the minimum log level specified by the `IConfigCatLogger.LogLevel` property)</> : null}.
The callback will be called by the _ConfigCat SDK_ each time a log event occurs {!props.platform ? <>(and the event passes the minimum log level specified by the `IConfigCatLogger.LogLevel` property)</> : null}.
That is, the callback allows you to filter log events by `level`, `eventId`, `message` or `exception`. The formatted message string can be obtained via `message.InvariantFormattedMessage`.
If the callback function returns `true`, the event will be logged, otherwise it will be skipped.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/sdk-reference/go.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ The _ConfigCat SDK_ supports 3 different polling strategies to fetch feature fla

The _ConfigCat SDK_ downloads the latest config data from the ConfigCat CDN automatically every 60 seconds and stores it in the cache.

Use the the `PollInterval` option parameter of the _ConfigCat Client_ to change the polling interval.
Use the `PollInterval` option parameter of the _ConfigCat Client_ to change the polling interval.

```go
client := configcat.NewCustomClient(configcat.Config{SDKKey: "#YOUR-SDK-KEY#",
Expand Down
2 changes: 1 addition & 1 deletion website/docs/sdk-reference/ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ The _ConfigCat SDK_ supports 3 different polling strategies to fetch feature fla

The _ConfigCat SDK_ downloads the latest config data from the ConfigCat CDN automatically every 60 seconds and stores it in the cache.

Use the the `autoPollIntervalInSeconds` option parameter of the `PollingModes.autoPoll()` to change the polling interval.
Use the `autoPollIntervalInSeconds` option parameter of the `PollingModes.autoPoll()` to change the polling interval.

<Tabs groupId="ios-languages">
<TabItem value="swift" label="Swift">
Expand Down
4 changes: 2 additions & 2 deletions website/docs/sdk-reference/java.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ The _ConfigCat SDK_ supports 3 different polling strategies to fetch feature fla

The _ConfigCat SDK_ downloads the latest config data from the ConfigCat CDN automatically every 60 seconds and stores it in the cache.

Use the the `autoPollIntervalInSeconds` option parameter of the `PollingModes.autoPoll()` to change the polling interval.
Use the `autoPollIntervalInSeconds` option parameter of the `PollingModes.autoPoll()` to change the polling interval.

```java
ConfigCatClient client = ConfigCatClient.get("#YOUR-SDK-KEY#", options -> {
Expand Down Expand Up @@ -876,7 +876,7 @@ Examples fo <a href="https://github.com/configcat/java-sdk/blob/master/samples/c

### Log Filtering

You can define a custom log filter by implementing the `LogFilterFunction` interface. The `apply` method will be called by the _ConfigCat SDK_ each time a log event occurs (and the event passes the minimum log level specified by the `logLevel` option). That is, the `apply` method allows you to filter log events by `logLevel`, `eventId`, `message` or `exception`. The formatted message string can be obtained by calling `toString()` on the `message` parameter.
You can define a custom log filter by implementing the `LogFilterFunction` interface. The `apply` method will be called by the _ConfigCat SDK_ each time a log event occurs (and the event passes the minimum log level specified by the `logLevel` option). That is, the `apply` method allows you to filter log events by `logLevel`, `eventId`, `message` or `exception`. The formatted message string can be obtained by calling `toString()` on the `message` parameter.
If the `apply` method returns `true`, the event will be logged, otherwise it will be skipped.

```java
Expand Down
2 changes: 1 addition & 1 deletion website/docs/sdk-reference/kotlin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ The _ConfigCat SDK_ supports 3 different polling strategies to fetch feature fla

The _ConfigCat SDK_ downloads the latest config data from the ConfigCat CDN automatically every 60 seconds and stores it in the cache.

Use the the `pollingInterval` option parameter of the `autoPoll()` to change the polling interval.
Use the `pollingInterval` option parameter of the `autoPoll()` to change the polling interval.

```kotlin
import com.configcat.*
Expand Down
Loading
Loading