MCPcopy Index your code
hub / github.com/FeatureProbe/feature-probe-server

github.com/FeatureProbe/feature-probe-server @2.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.1 ↗ · + Follow
107 symbols 250 edges 10 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

FeatureProbe Server

Top Language codecov Github Star Apache-2.0 license

中文文档

FeatureProbe Server(also called the Evaluation Server) is a key component to make the FeatureProbe service workable. It provides toggle configurations and rules to the server-side SDKs, and it provides evaluation results to the client-side SDKs.

featureProbe Architecture

The Evaluation Server directly/indirectly decides variation results based on the targeting user's situation and makes the gradually rolling out, service degradation or A/B testing possible.

Getting Started

Installing the Evaluation Service is the prerequisite of running FeatureProbe service.

Using Docker Composer to Install Main Services

We recommend booting up the Evaluation Server along with other core components by using a docker composer file.

Here is an example to help to boot up FeatureProbe Server, API, UI and db with a simple docker-compose up command. Check it out at FeatureProbe Official Compose File.

Or you can simply run below command to clone and boot up the Docker composer components.

git clone https://github.com/FeatureProbe/featureprobe.git
cd featureprobe
docker compose up

Installing Evaluation Server Independently with a Docker Image

You can alternatively install and run API with a Docker image. To run, binding the exposed port 4007 to the host, use:

$ docker run -d -p 4007:4007 --name fp-api featureprobe/server

Contributing

We are working on continue evolving FeatureProbe core, making it flexible and easier to use. Development of FeatureProbe happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements.

Please read CONTRIBUTING for details on our code of conduct, and the process for taking part in improving FeatureProbe.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Extension points exported contracts — how you extend this code

HttpHandler (Interface)
(no doc) [2 implementers]
src/http/handler.rs

Core symbols most depended-on inside this repo

into_response
called by 22
src/http/mod.rs
cors_headers
called by 12
src/http/mod.rs
version
called by 7
src/secrets.rs
http_get
called by 7
src/http/mod.rs
sync
called by 6
src/repo.rs
server_sdk_repo_string
called by 6
src/repo.rs
insert
called by 6
src/secrets.rs
secret_keys
called by 4
src/repo.rs

Shape

Function 47
Method 46
Class 12
Enum 1
Interface 1

Languages

Rust100%

Modules by API surface

src/repo.rs33 symbols
src/http/mod.rs27 symbols
src/http/handler.rs15 symbols
src/secrets.rs11 symbols
src/main.rs7 symbols
src/base.rs7 symbols
src/realtime.rs5 symbols
examples/local_file.rs1 symbols
build.rs1 symbols

For agents

$ claude mcp add feature-probe-server \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact