Easily make RESTful web services for time series reporting with Big Data analytics engines like Druid and Hive.
Java Groovy Other
Switch branches/tags
Clone or download
Andrew Cholewa and michael-mclawhorn Remove UriInfo from the ExceptionHandlers.
-- The `UriInfo` is included in the `ContainerRequestContext`, so it
doesn't need to be explicitly passed to an `ExceptionHandler`.

-- Technically, we should probably do the deprecation dance, but this
has been out for less than a day, so the impact is going to be
Latest commit e383277 Jul 19, 2018
Failed to load latest commit information.
docs Fix 'descriptionription' mis-naming in dimension field Mar 28, 2018
fili-core Remove UriInfo from the ExceptionHandlers. Jul 19, 2018
fili-generic-example Class re-organization (#694) May 17, 2018
fili-navi use 'maven-enforcer-plugin' instead of maven version prerequisites (i… Apr 13, 2018
fili-security Class re-organization (#694) May 17, 2018
fili-sql Class re-organization (#694) May 17, 2018
fili-system-config use 'maven-enforcer-plugin' instead of maven version prerequisites (i… Apr 13, 2018
fili-wikipedia-example Class re-organization (#694) May 17, 2018
fili use 'maven-enforcer-plugin' instead of maven version prerequisites (i… Apr 13, 2018
src/site initial commit Aug 29, 2016
translations/zh Add fili.io link to README (#670) May 17, 2018
travis Stabilizing Travis and Maven builds (#454) Jul 28, 2017
.gitignore Add `AvroDimensionRowParser` to parse an AVRO data file into Dimensio… Nov 10, 2016
.travis.yml Fix Travis Build Failure Sep 14, 2017
CHANGELOG.md Allow the customer to control the test logging. (#749) Jul 18, 2018
CONTRIBUTING.md Document CHANGELOG process Jul 19, 2017
Fili-Project-intellij-code-style.xml initial commit Aug 29, 2016
LICENSE.md Correct the license to be accurate Oct 3, 2016
README.md Add fili.io link to README (#670) May 17, 2018
checkstyle-style.xml Enable checkstyle to detect incorrect package header Dec 7, 2017
checkstyle-suppressions.xml initial commit Aug 29, 2016
github_key.enc initial commit Aug 29, 2016
pom.xml Upgrade codenarc to recognize unused imports in Groovy (#685) May 17, 2018
settings.xml initial commit Aug 29, 2016



Read this in other languages: 中文.

Download Gitter Travis Codacy grade Users Google Group Developers Google Group

Fili is a Java-based framework that makes it easy to build and maintain RESTful web services for time series reporting and analytics. Fili's HTTP GET-based reporting API is clean and user-friendly, hiding the complexities of complicated metric and dimension definition, data storage, and query optimization from end-users. Designed with Big Data and scalability in mind, Fili has first-class support for Druid as a back-end, but Fili's flexible pipeline-style architecture can handle nearly any back-end for data storage.

Fili exposes the same core concepts that all time series reporting and analytics systems expose:

Other systems expose additional concepts like Views, Partitions, and metric formulas, but Fili chooses not to expose end-users to those low-level concerns. By limiting the mental model of Fili's API to just these core domain concepts, Fili's API allows end-users to better extract business value by focusing on finding answers to the what and why questions from their data, rather than on how to ask their question.

Fili's simple and clear API lets users focus on their business-driven questions, and the Fili library takes care of figuring out how to best answer the question for them.

This simplicity also allows for a huge amount of flexibility around where data is stored and how it's queried and retrieved from back-end systems. Having such flexibility allows those maintaining a web service built with Fili to move data around, better optimize queries, and even swap out entire back-end systems without breaking their end-users or forcing them to go through a painful migration.

Fili also provides a plethora of other capabilities. Here are some of them:

Functionality Operability
Complex metric definition Rate limiting
Performance slice routing Query weight checks
Dimension joins (both annotation and filtering) Rich usage metrics
Partial interval protection Health checks
Volatile data handling Caching
Modular architecture

Community Gitter Users Google Group Developers Google Group

The Fili community generally hangs out on Gitter, so please drop by if you have any questions, comments, concerns, wishes, hopes, dreams, wants, needs, yearnings, musings, or idle curiosities about Fili. The core Fili developers love meeting new people and talking with them about how they can best use Fili to solve their Big Data time series reporting and analytics problems. We know there are gaps in Fili, and definitely lots of new, powerful capabilities to add, so hearing about what's working and what could be better will help drive the direction of Fili.

If you have other thoughts, or are running into trouble and are not able to get help from the community on Gitter, please open an issue describing your problem or idea.

If you would like to get involved with Fili development, check out the CONTRIBUTING file.

Quick Start

Fili comes with a pre-configured example application to help you get started and serve as a jumping-off-point for building your own web service using Fili. The example application lets you report on Wikipedia article edit information, and picks up where Druid's quick-start tutorial leaves off.


Fili is stable and production-ready today, but the codebase is still under active development, with many large-scale changes and new features being worked on or planned for the future.

Active development happens on the patch version of the highest minor version.


APIs marked with the @Deprecated annotation are planned for removal in upcoming releases. Deprecated APIs will be supported for 1 stable release beyond the release in which they were deprecated, but it is strongly recommended to stop using them. After deprecated APIs are no longer supported, they may be removed at any time.

Binaries (How to Get It)

Binaries for Fili are stored in Bintray. Dependency information for Maven, Ivy, and Gradle can be found at https://bintray.com/yahoo/maven/fili, and some examples are below.





repositories {
    maven { url 'http://yahoo.bintray.com/maven' }

dependencies {
    compile 'com.yahoo.fili:fili:x.y.z'

The most bleeding-edge version is: Bleeding-edge

The most recent stable version is: Stable


Fili's easy to extend! It has a bunch of hooks already (AbstractBinderFactory)! There's a module system for config and modules depending on other modules! There's lots more to say here, but the time the time, look at the time!


More information about Fili can be found at fili.io.

Contributing Developers Google Group

More details can be found in the CONTRIBUTING file.


Copyright 2016 Yahoo! Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.