Files
fn-serverless/vendor/git.apache.org/thrift.git/tutorial/as3/build.xml
Reed Allman 9eaf824398 add jaeger support, link hot container & req span (#840)
* add jaeger support, link hot container & req span

* adds jaeger support now with FN_JAEGER_URL, there's a simple tutorial in the
operating/metrics.md file now and it's pretty easy to get up and running.
* links a hot request span to a hot container span. when we change this to
sample at a lower ratio we'll need to finagle the hot container span to always
sample or something, otherwise we'll hide that info. at least, since we're
sampling at 100% for now if this is flipped on, can see freeze/unfreeze etc.
if they hit. this is useful for debugging. note that zipkin's exporter does
not follow the link at all, hence jaeger... and they're backed by the Cloud
Empire now (CNCF) so we'll probably use it anyway.

* vendor: add thrift for jaeger
2018-03-13 15:57:12 -07:00

51 lines
1.6 KiB
XML

<project name="tutorial" default="dist" basedir=".">
<description>Thrift actionscript 3.0 tutorial.</description>
<property name="gen" location="gen-as3" />
<property name="src" location="src" />
<property name="thrift.src" location="../../lib/as3/src/" />
<property name="dist" location="dist" />
<property name="final.name" value="as3-tutorial" />
<property name="swf.name" value="${dist}/${final.name}.swf" />
<target name="flex.check" unless="FLEX_HOME">
<fail message='You must set the FLEX_HOME property pointing to your flex SDK, eg. ant -DFLEX_HOME="/Applications/Adobe Flex Builder 3/sdks/3.2.0"'/>
</target>
<target name="flex.init" depends="flex.check" unless="flex.finished">
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
<property name="flex.finished" value="true"/>
</target>
<target name="init">
<tstamp />
<mkdir dir="${dist}"/>
</target>
<target name="dist" depends="generate, flex.init, init">
<mxmlc output="${swf.name}" file="${src}/CalculatorUI.as">
<source-path path-element="${gen}" />
<source-path path-element="${src}" />
<source-path path-element="${thrift.src}" />
</mxmlc>
</target>
<target name="generate">
<!-- Generate the thrift gen-java source -->
<exec executable="../../compiler/cpp/thrift" failonerror="true">
<arg line="--gen as3 ../shared.thrift"/>
</exec>
<exec executable="../../compiler/cpp/thrift" failonerror="true">
<arg line="--gen as3 ../tutorial.thrift"/>
</exec>
</target>
<target name="clean">
<delete dir="${gen}"/>
<delete dir="${dist}" />
</target>
</project>